xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

css & clearfix & clear-fixed

https://zzk.cnblogs.com/my/s/blogpost-p?Keywords=clearfix

.group:after {
  content: "";
  display: table;
  clear: both;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.clearfix { display: inline-block; }
/* start commented backslash hack */
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */


vue & global css


<style lang="css">
  /* global css */
  .auto-clearfix::after{
    display: table;
    overflow: hidden;
    visibility: hidden;
     0;
    height: 0;
    clear: both;
    content: "";
  }
</style>

https://css-tricks.com/snippets/css/clear-fix/

https://stackoverflow.com/questions/211383/what-methods-of-clearfix-can-i-use

https://github.com/xgqfrms/FEIQA/issues/23

https://github.com/xyzdata/RAIO/issues/271



原文地址:https://www.cnblogs.com/xgqfrms/p/10607618.html