#css

[ follow ]
#html
UX design
fromCSS-Tricks
2 months ago

Getting Creative With HTML Dialog | CSS-Tricks

HTML dialog element improves the accessibility and style of dialogue boxes, making them easier to customize.
fromCSS-Tricks
3 days ago

CSS Elevator: A Pure CSS State Machine With Floor Navigation | CSS-Tricks

A pure-CSS elevator state machine uses @property-typed custom properties, counters, and pseudo-classes to animate floors, directions, and timing without JavaScript.
#javascript
fromjQuery Script
1 week 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
fromFrontendmasters
1 week ago

Obsessing Over Smooth radial-gradient() Disc Edges

If you want to avoid using a pseudo-element or, even worse, children just for decorative purposes, then radial-gradient() seems to be the best solution. Especially in the case where you might need a bunch of such discs, more than the two pseudos available on an element. However, if we do something like this: Where r is the gradient disc radius, then we get jaggies, a step-like effect along the radial-gradient() disc, whereas one created with a pseudo-element has smooth-looking edges!
Web design
Web design
fromMeyerweb
1 week ago

To Infinity... But Not Beyond!

Using calc(infinity * length) on text properties causes extreme layout effects and reveals inconsistent computed-value handling across browsers, with Chrome most unpredictable.
fromCSS-Tricks
2 weeks ago

3D Layered Text: The Basics | CSS-Tricks

A bulging text effect can be created using advanced CSS techniques along with JavaScript for interactivity.
#web-development
Web development
fromChrome for Developers
1 month ago

CSS conditionals with the new if() function | Blog | Chrome for Developers

CSS inline conditionals with the if() function enhance dynamic styles with immediate application and streamlined developer interface.
fromPiccalilli
2 weeks ago

Another article about centering in CSS

Centering in CSS is no longer an impossible task. Multiple methods such as flexbox and grid make it easy to achieve both vertical and horizontal centering.
Web design
#accessibility
fromCSS-Tricks
2 weeks ago
UX design

On Accessibility Conformance, Design Systems, and CSS "Base" Units | CSS-Tricks

Accessible web experiences require components designed to work collectively rather than in isolation.
fromCSS-Tricks
3 months ago
UX design

What We Know (So Far) About CSS Reading Order | CSS-Tricks

CSS properties 'reading-flow' and 'reading-order' ensure focus order matches visual order, enhancing accessibility compliance.
fromCSS-Tricks
3 weeks ago

How to Prepare for CSS-Specific Interview Questions | CSS-Tricks

Responsive design is one of the fundamentals you'll be asked about. Building a responsive website means your layout, images, and typography adapt gracefully to any device or screen size.
Web development
fromdaverupert.com
1 month ago

Easy sci-fi rectangles with corner-shape

Chromium 139 introduces the 'corner-shape' property, allowing designers to create 'squircles' and a variety of complex shapes beyond traditional rectangles.
Web design
fromCSS-Tricks
1 month ago

How to Discover a CSS Trick | CSS-Tricks

CSS tricks feel like discovering secret synergies between features, akin to chiseling a sculpture from marble or uncovering fossils, where unexpected pairings achieve the impossible.
Web development
Typography
fromOddBird
1 month ago

Designing for User Font-size and Zoom

User font-size preferences can enhance web readability, but defaults and variations create challenges in achieving a universally ideal experience.
fromSearch Engine Roundtable
1 month ago

Google On SEO & CSS

Google's guidelines recommend making CSS files crawlable. While CSS has implications for SEO, crawlers typically parse HTML for text content and ignore class names.
Web development
#svg
fromCodrops
1 month ago
Web development

Building an Infinite Marquee Along an SVG Path with React & Motion | Codrops

fromCodrops
1 month ago
Web development

Building an Infinite Marquee Along an SVG Path with React & Motion | Codrops

#grid-layout
fromCSS-Tricks
1 month ago

Getting Creative With Versal Letters | CSS-Tricks

Drop caps enhance readability and reflect a brand's visual identity in web design.
LA food
fromPitchfork
1 month ago

L7 to Celebrate 40th Anniversary With Los Angeles Concert Featuring Lunachicks and CSS

L7 celebrates its 40th anniversary with a special concert in Los Angeles featuring Lunachicks and CSS.
fromCSS-Tricks
1 month ago

Getting Clarity on Apple's Liquid Glass | CSS-Tricks

Liquid glass is a universal design system by Apple focusing on dynamic user interactions and fluidity across all platforms.
#animation
fromRaymondcamden
1 month ago

Cleaning Up My Print View with CSS Media Queries

Print versions should focus on essential content, omitting irrelevant elements such as ads, comments, and share options.
#animations
#web-design
UX design
fromMeyerweb
3 months ago

Masonry, Item Flow, and... GULP?

Masonry layout combines flexbox and grid principles; new Item Flow proposal seeks to improve its CSS implementation.
fromCSS-Tricks
1 month ago

Better CSS Shapes Using shape() - Part 4: Close and Move | CSS-Tricks

The close command is important in defining shapes in CSS, but it is often unnecessary as browsers can handle shape closure automatically.
#responsive-design
fromCSS-Tricks
2 months ago

KelpUI | CSS-Tricks

KelpUI is being designed to leverage modern CSS features and Web Components, while emphasizing utility, customizability, and simplicity in naming and specificity.
UX design
fromAtlaspuplabs
2 months ago

Liquid Glass, but in CSS

Apple's Liquid Glass design language can be approximated using CSS with effort, primarily in Chrome.
The Liquid Glass effect creates an illusion of depth and smoothness using visual techniques.
fromRaymondcamden
2 months ago

Links For You (6/22/25)

I've shared Josh Comeau links many times here and his ability to explain technical matter with incredibly simple and well-built demos is easily the best in the industry.
Web development
fromSitePoint Forums | Web Development & Design Community
2 months ago

HTTP using wrong file path trying to access CSS files

The issue lies in how relative paths work in HTML. When CSS files are linked using a relative path, they are referenced based on the location of the HTML document in the directory structure. In your case, if the webpage is located in the 'Folder' directory, the browser looks for the CSS files in 'http://Project/Folder/CSS/' but failing due to incorrect pathing leads to a 404 error.
Web development
fromCSS-Tricks
2 months ago

Better CSS Shapes Using shape() - Part 3: Curves | CSS-Tricks

The curve command in CSS shape() allows for greater control over drawing shapes using Bézier curves with one or two control points.
fromCSS-Tricks
2 months ago

Exploring the CSS contrast-color() Function... a Second Time | CSS-Tricks

The contrast-color() function simplifies color contrast decisions for web accessibility, but lacks flexibility and current browser support.
#user-experience
JavaScript
fromCSS-Tricks
3 months ago

Better CSS Shapes Using shape() - Part 1: Lines and Arcs | CSS-Tricks

The new shape() function in CSS revolutionizes how developers create and customize shapes, allowing for more flexibility and simplicity.
fromCSS-Tricks
3 months ago

A Reader's Question on Nested Lists | CSS-Tricks

‘A nested list, where each sublist marker/counter is of a different kind, can provide a clear and organized way to present complex information.’
JavaScript
[ Load more ]