Kategorija
Razvoj
7 članaka u kategoriji Razvoj.

A True Modal Dialog (No JavaScript Required)
Popover floats above the page, but it won't lock the rest of it down. A dialog will - focus trap, an inert background, a real backdrop - with zero JavaScript.

A Pure-CSS Tabs Component (No JavaScript)
Tabs look like a job for JavaScript: state, click handlers, ARIA wiring. For the common case, a few radio buttons and some CSS do all of it.

CSS Finally Has a Parent Selector
For as long as CSS existed, a parent could style a child - never the other way round. :has() breaks that rule, and it's a bigger deal than it sounds.

Container Queries: Components That Adapt to Their Space
Media queries ask how big the screen is. Container queries ask how big the component's space is - which is the question you usually actually have.

Dark Mode the Simple Way: One Set of CSS Variables
Dark mode doesn't mean writing your styles twice. Define colors as CSS variables once, flip them under one class, and the whole UI inverts.

A Pure-CSS Accordion (No JavaScript Required)
The humble details element gives you an accessible accordion with zero JavaScript and almost no CSS. Here's how to build one and style it well.

A Pure-CSS Carousel (No JavaScript Required)
You don't need a library or a line of JavaScript to build a smooth, swipeable carousel. CSS scroll-snap handles the whole thing - here's how, with the code.
Ostale teme
Javite se
Napravimo nešto
na šta ćete biti ponosni.
Recite nam na čemu radite - i gruba ideja je sasvim dovoljna. Zakažite kratak poziv ili nam pošaljite mejl, a mi ćemo odgovoriti kao pravi ljudi, obično u roku od jednog dana.
Kratak uvodni poziv - bez pritiska, samo razgovor o tome na čemu radite.
Više volite mejl?
office@otterdev.meSjedište
Crna Gora
Radimo s ljudima ovdje, i svuda gdje ima interneta.
Više volite da pišete?