MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
* { | |||
box-sizing: border-box; | |||
} | |||
/* Create three equal columns that floats next to each other */ | |||
.column { | .column { | ||
float: left; | float: left; | ||
width: 33.33%; | width: 33.33%; | ||
padding: 10px; | |||
} | } | ||
Line 12: | Line 18: | ||
display: table; | display: table; | ||
clear: both; | clear: both; | ||
} | } |
Revision as of 15:27, 27 April 2021
/* CSS placed here will be applied to all skins */ * { box-sizing: border-box; } /* Create three equal columns that floats next to each other */ .column { float: left; width: 33.33%; padding: 10px; } /* Clear floats after the columns */ .row:after { content: ""; display: table; clear: both; }