Skip to content

Kategorija

Razvoj

7 članaka u kategoriji Razvoj.

A True Modal Dialog (No JavaScript Required)
Development7 min read

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.

Otter
A Pure-CSS Tabs Component (No JavaScript)
Development4 min read

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.

Otter
CSS Finally Has a Parent Selector
Development4 min read

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.

Otter
Container Queries: Components That Adapt to Their Space
Development7 min read

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.

Otter
Dark Mode the Simple Way: One Set of CSS Variables
Development5 min read

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.

Otter
A Pure-CSS Accordion (No JavaScript Required)
Development5 min read

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.

Otter
A Pure-CSS Carousel (No JavaScript Required)
Development4 min read

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.

Otter

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.

Zakažite poziv

Kratak uvodni poziv - bez pritiska, samo razgovor o tome na čemu radite.

Više volite mejl?

office@otterdev.me

Sjedište

Crna Gora

Radimo s ljudima ovdje, i svuda gdje ima interneta.

Više volite da pišete?