How to create multiple columns
Category Archives: CSS
Reply
Absolute Horizontal And Vertical Centering In CSS
Draw border on the inside of an element
The element will not be composed of the (width value) + (padding value) +(border width value) but rather the value declared for css width property itself.
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
http://www.soyoucode.com/2012/quick-tip-draw-border-element-css
Pro and cons of the use of border-box
http://www.smashingmagazine.com/2012/06/14/coding-qa-with-chris-coyier-box-sizing-and-css-sprites/
CSS3: shadow, gradient, round corners
Cheatsheet
CSS structure
Spacing The Bottom of Modules
Spacing The Bottom of Modules: http://css-tricks.com/spacing-the-bottom-of-modules/
Tvinge CSS til at reloade
Input (+1 time CET)
href="style.css?<?php $time = date("H:i:s", time()+3600); echo $time; ?>"
Output
href="style.css?21:10:12"
Tømme cache
<!-- empty cache --> <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" /> <meta http-equiv="Pragma" content="no-cache" /> <meta http-equiv="Expires" content="0" /> <!-- empty cache end -->
Alternativt – tilføje dato til title tag
<title><?php $time = date("H:i:s", time()+3600); echo $time; ?> - <?php wp_title( '|', true, 'right' ); ?></title>