Category HTML

How to build a slider without JavaScript

You don’t need to use JS to add a slider on a page anymore! It’s possible to create it with HTML and CSS just by using radio inputs and labels. Implementation Add a wrapper with radio inputs and slides in order to have two slides: you have to add two inputs input for the first […]

How to name your CSS components?

Sometimes beginners are wasting much time thinking about a good class name for specific HTML element (component). We’ve prepared a list to help with getting some fresh ideas. Wrappers Elements for wrapping general layout. .wrapper .container .inner .outer .row Main Sections Root sections of the page. .header .footer .section .section-*** Page Sections Main sections on the […]