feat: Implement clearfix before headers
This commit is contained in:
parent
db5b9d8163
commit
6c3c08400b
1 changed files with 16 additions and 0 deletions
|
@ -253,6 +253,22 @@ blockquote small {
|
|||
float: right;
|
||||
max-width: 50%;
|
||||
}
|
||||
|
||||
/*
|
||||
Clearfix implementation
|
||||
*/
|
||||
h1::before,
|
||||
h2::before,
|
||||
h3::before,
|
||||
h4::before,
|
||||
h5::before,
|
||||
h6::before {
|
||||
content: " "; /* Older browser do not support empty content */
|
||||
visibility: hidden;
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
}
|
||||
} /* end @media */
|
||||
|
||||
@supports (animation-timeline: scroll()) {
|
||||
|
|
Loading…
Reference in a new issue