-
-
Save andriyudatama/3238052 to your computer and use it in GitHub Desktop.
Clear float, technique définitive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Clear float, technique définitive */ | |
li { float: left } | |
ul { *zoom: 1 } | |
ul:after { | |
clear: left; | |
content: ' '; /* Attention, c'est un espace insécable (alt+space) */ | |
display: block; | |
height: 0; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul> | |
<li>Je float !</li> | |
<li>Je float !</li> | |
<li>Je float !</li> | |
</ul> | |
<p> | |
Je float plus… du con la joie ! y à pas de consigne pour ces bouteilles :D | |
</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"view":"split","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment