Skip to content
Carl Victor Fontanos
Carl Victor Fontanos

Carl Victor Fontanos

Software Engineer

I build web applications and share what I learn along the way.

© 2026

Tutorials

128 tutorials

Step-by-step programming tutorials on PHP, JavaScript, Laravel, WordPress and more.

CSS Beginner

Your Animations Might Be Making People Sick

Vestibular disorders make parallax and zoom animations physically unpleasant for a lot of people. Respecting the reduced-motion setting takes ten lines and is table stakes for professional work.

2 min 1,487
CSS Advanced

Animating CSS Gradients (Yes, Really) with @property

Gradients famously cannot be transitioned - until you teach the browser that your custom property is a color or angle. @property makes CSS variables animatable with types.

2 min 2,193
CSS Advanced

content-visibility: The Rendering Shortcut Nobody Uses

One CSS property tells the browser to skip layout and paint for off-screen sections entirely. On long pages it can cut initial rendering work dramatically - no virtualization library needed.

2 min 3,663
CSS Intermediate

position: sticky Isn't Broken - Your Overflow Is

Sticky elements that refuse to stick are almost always trapped by an ancestor with overflow set, or a parent that is exactly as tall as they are. Here is the debugging checklist.

2 min 760
CSS Intermediate

Fluid Typography with One Line of clamp()

Stop writing a font-size media query for every breakpoint. clamp() scales type smoothly with the viewport between a floor and a ceiling you control.

2 min 4,456
CSS Beginner

:focus-visible Ends the outline: none Wars

Designers hate focus rings on click, keyboard users need them to navigate at all. :focus-visible gives each group what they want - and browsers already use it by default.

2 min 3,723
CSS Beginner

The Two-Word Fix for Ugly Headline Wrapping

A headline that wraps leaving one lonely word on the second line looks broken. text-wrap: balance makes the browser distribute the words evenly, and text-wrap: pretty fixes paragraphs.

2 min 807
CSS Intermediate

CSS-Only Carousels with scroll-snap

A swipeable, momentum-friendly, accessible carousel needs no JavaScript at all. scroll-snap turns a plain overflow container into one, and it feels native because it is.

2 min 4,555