#CSS

[ follow ]
fromCSS-Tricks
18 hours ago

Approximating contrast-color() With Other CSS Features | CSS-Tricks

There have been a few drafts of a specification function for this functionality, most recently, contrast-color() (formerly color-contrast()) in the CSS Color Module Level 5 draft. But with Safari and Firefox being the only browsers that have implemented it so far, the final version of this functionality is likely still a ways off. There has been a lot of functionality added to CSS in the meantime; enough that I wanted to see whether we could implement it in a cross-browser friendly way today. Here's what I have: color: oklch(from <your color> round(1.21 - L) 0 0);
Web development
#css
#javascript
UX design
fromIshadeed
6 days ago

The Too Early Breakpoint

Avoid switching to a mobile layout before available space requires it to preserve design integrity and ensure truly responsive CSS.
fromSitePoint Forums | Web Development & Design Community
1 week ago

Custom CSS code

Can you formulate the css code to apply the glassmorphism (GM) effect b/g to the tasks below: Glassmorphism code snippet background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(5px); border: 1px solid rgba(255, 255, 255, 0.1); 1.1 Apply the GM effect to the Share B/G, Gallery B/G & Vid B/G icons during onmouseout. 1.2 Apply the GM effect to the Social icons pop-up panel B/G during onmousehover on the Share icon.
Web development
#wordpress
fromSmashing Magazine
2 weeks ago

Unstacking CSS Stacking Contexts - Smashing Magazine

Stacking contexts are incredibly useful, but they're also widely misunderstood and often mistakenly created, leading to a slew of layout issues that can be tricky to solve. Have you ever set z-index: 99999 on an element in your CSS, and it doesn't come out on top of other elements? A value that large should easily place that element visually on top of anything else, assuming all the different elements are set at either a lower value or not set at all.
Web design
Web design
fromMedium
3 weeks ago

Generate Animated Effects for the Web with Claude

AI tools like Anthropic's Claude can generate high-quality web animated effects and ready-to-use prompts, streamlining creation of polished, lightweight UI animations.
fromeLearning
1 month ago

Captivate 13 Flip Card Widget - eLearning

Greetings. Can someone please tell me how to get the image on the back of the flip card to fill the card like the image on the front of the card? See attachment with identical image on front and back. I have read the help documentation but did not fine the information needed. Basically, I need the images on the front and back to be the same dimensions. Thank you.
UX design
Web frameworks
fromRaymondcamden
1 month ago

An Astro site for my CSS Snippets

A simple Astro site was created to organize and render frequently used CSS snippets, storing each tip as a separate Markdown file for quick reuse.
Web development
fromLogRocket Blog
1 month ago

Container queries in 2026: Powerful, but not a silver bullet - LogRocket Blog

Container queries enable components to adapt styling based on parent container context, allowing fine-grained responsive behavior beyond viewport-based media queries.
#web-development
fromwww.jqueryscript.net
3 months ago
Web design

Weekly Web Design & Development News: Collective #630

Curated weekly roundup of web development and design tools, libraries, AI releases, UI assets, and tutorials to accelerate frontend workflows.
fromwww.jqueryscript.net
5 months ago
Web development

Weekly Web Design & Development News: Collective #621

Optimize apps with Obs.js, integrate shadcn/ui into Django, pack apps into single binaries with exe, generate AI sound effects, use Kimi‑K2's 256k context.
#typography
#html
fromTheregister
2 months ago

Novel clickjacking attack relies on CSS and SVG

Security researcher Lyra Rebane has devised a novel clickjacking attack that relies on Scalable Vector Graphics (SVG) and Cascading Style Sheets (CSS). Rebane demonstrated the technique at BSides Tallinn in October and has now published a summary of her approach. The attack, which has yet to be fully mitigated, relies on the fact that SVG filters can leak information across origins, in violation of the web's same-origin policy.
Information security
Web development
fromCSS-Tricks
2 months ago

Scrollytelling on Steroids With Scroll-State Queries | CSS-Tricks

Scroll-driven storytelling leverages ancient scroll practices to create immersive narratives while modern CSS-based scroll-driven animations enable smoother, more accessible interactive design.
Web development
fromTreehouse Blog
2 months ago

Front-End Web Development: Build and Design Interactive Websites

Front-end development enables creation of visual, interactive websites using HTML, CSS, and JavaScript and offers an accessible path for beginners.
Web development
fromCSS-Tricks
4 months ago

Touring New CSS Features in Safari 26 | CSS-Tricks

Safari 26.0 is a major release adding 75 new features, 3 deprecations, and 171 improvements, including significant new CSS capabilities like anchor positioning.
fromSmashing Magazine
4 months ago

Ambient Animations In Web Design: Principles And Implementation (Part 1) - Smashing Magazine

Creating motion can be tricky. Too much and it's distracting. Too little and a design feels flat. Ambient animations are the middle ground - subtle, slow-moving details that add atmosphere without stealing the show. Unlike timeline-based animations, which tell stories across a sequence of events, or interaction animations that are triggered when someone touches something, ambient animations are the kind of passive movements you might not notice at first. But, they make a design look alive in subtle ways.
Web design
Web design
fromkube.io
4 months ago

Liquid Glass in the Browser: Refraction with CSS and SVG - kube.io

Recreate a Liquid Glass UI effect on the web by approximating optical refraction and specular highlights using CSS, SVG displacement maps, and simplified physics.
Web design
fromCSS-Tricks
5 months ago

What You Need to Know About CSS Color Interpolation | CSS-Tricks

Color interpolation computes intermediate colors between two points to create palettes, gradients, transitions, and mix colors across color spaces using functions like color-mix().
Apple
fromWebKit
5 months ago

Release Notes for Safari Technology Preview 227

Safari Technology Preview Release 227 adds accessibility improvements, animation persistence and bug fixes, and multiple new CSS features for macOS Tahoe and Sequoia.
fromjQuery Script
5 months ago

jQuery Retro Flip Clock & Countdown Timer Plugin - FlipClock

Flip Clock is a jQuery plugin for creating a clock & countdown timer that displays information in a digital format on a split flap display. The clock & countdown timer can be fully customized via CSS and full-featured developer API. How to use it: 1. Include required FlipClock CSS in the head section of your page. <link rel="stylesheet" href="/path/to/compiled/flipclock.css" /> 2. Create a container for the clock. <div class="clock"></div> 3. Include jQuery library and the jQuery FlipClock plugin at the bottom of the page. <script src="/path/to/cdn/jquery.min.js"></script> <script src="/path/to/compiled/flipclock.min.js"></script>
JavaScript
[ Load more ]