Tag Archives: css

Simple Html debug via CSS

Add the following css lines to your CSS theme, possibly at the end div::before { content:” C:” attr(class) “” } *::before,*::after { color:red; font-weight:100; font-size:1.0em } and div classes will showup easily. Very handly while customizing WoooordPress :) This page … Continue reading
Posted in English Content, Knowledgebase | Tagged , , , , | Comments Off on Simple Html debug via CSS

Implementing A Pure CSS Collapsible ← Alligator.io

Collapsible widgets are a popular way to create sections of content that can contract and expand. There are a ton of different implementations out there. Here, thanks to checkbox input elements, label elements and the :checked pseudo-selector, we’ll be able … Continue reading
Posted in English Content | Tagged , | Comments Off on Implementing A Pure CSS Collapsible ← Alligator.io

Changing orientation via a stylesheet

This magic CSS code is able to change the orientation of the printed page: @page port {size: portrait;} @page land {size: landscape;} .portrait {page: port;} .landscape {page: land;} For more information, take a look to the CSS Print Profile specification … Continue reading
Posted in English Content, Knowledgebase | Tagged , , , , | Comments Off on Changing orientation via a stylesheet