#css-media-queries

[ follow ]
#css
Web development
fromCsswizardry
5 days ago

What Is CSS Containment and How Can I Use It? - CSS Wizardry

CSS containment optimizes browser performance by defining boundaries for DOM elements, allowing the browser to skip unnecessary work during changes.
Typography
fromPiccalilli
1 month ago

An in-depth guide to customising lists with CSS

Lists should be styled and spaced like regular text, with appropriate indentation, bullet/number styles, positioning, and extra space for multi-digit numbering.
Web development
fromCSS-Tricks
20 hours ago

New CSS Multi-Column Layout Features in Chrome | CSS-Tricks

New CSS properties in Chrome 145+ allow multi-column layouts to avoid horizontal scrolling by enabling vertical wrapping of content.
Web development
fromCSS-Tricks
4 days ago

Making Complex CSS Shapes Using shape() | CSS-Tricks

Creating complex CSS shapes with randomness and curves is challenging but achievable using modern features and generators.
Web development
fromCsswizardry
5 days ago

What Is CSS Containment and How Can I Use It? - CSS Wizardry

CSS containment optimizes browser performance by defining boundaries for DOM elements, allowing the browser to skip unnecessary work during changes.
UX design
fromMedium
2 hours ago

Beyond the user: why design needs to widen its circle

Human-centered design must evolve to consider ecological impacts alongside user comfort and needs.
Software development
fromMedium
19 hours ago

Claude Code Context Window Optimization Best Practices

Managing the context window is crucial for optimal performance in Claude Code, preventing issues like context drift and hallucinations.
fromYanko Design - Modern Industrial Design News
10 hours ago

Your Phone Has 12 Calendar Apps. None of Them Look Like This - Yanko Design

The 1970s were a sweet spot in product design, especially in France, where makers were beginning to marry natural materials like wood with the new optimism of plastic.
Design
#lazy-loading
Web design
fromGSMArena.com
1 day ago

Google Chrome will get lazy loading for video and audio elements

Lazy loading will soon include video and audio elements in Chrome 148, enhancing user experience by deferring loading of heavier content.
Web design
fromGSMArena.com
1 day ago

Google Chrome will get lazy loading for video and audio elements

Lazy loading will soon include video and audio elements in Chrome 148, enhancing user experience by deferring loading of heavier content.
#javascript
Node JS
fromFrontendmasters
5 days ago

What To Know in JavaScript (2026 Edition)

JavaScript's ECMAScript 2025 introduces new iterator methods and improved set functionalities, enhancing performance and usability for developers.
fromAlex MacArthur
1 week ago
Node JS

Your options for preloading images with JavaScript

Preloading images in JavaScript can be achieved through various methods, with the best choice depending on specific circumstances.
fromwww.jqueryscript.net
1 month ago
Web development

Weekly Web Design & Development News: Collective #643

Essential 2026-ready JavaScript and CSS libraries, AI tools, developer resources, design assets, and updated top-10 audits for modern web development.
Node JS
fromFrontendmasters
5 days ago

What To Know in JavaScript (2026 Edition)

JavaScript's ECMAScript 2025 introduces new iterator methods and improved set functionalities, enhancing performance and usability for developers.
Vue
fromwww.jqueryscript.net
1 week ago

Weekly Web Design & Development News: Collective #650

TypeScript 6.0 and Vite 8.0 enhance development, while Shopify's Tinker offers over 100 free AI creative tools.
Node JS
fromAlex MacArthur
1 week ago

Your options for preloading images with JavaScript

Preloading images in JavaScript can be achieved through various methods, with the best choice depending on specific circumstances.
fromInfoQ
4 days ago

Module Federation 2.0 Reaches Stable Release with Wider Support Outside of Webpack

The dynamic type hints feature in Module Federation 2.0 dramatically streamlines the development process by automatically generating and loading types from remote modules, eliminating the need for shared type packages.
Angular
Data science
fromMedium
4 days ago

Context matters... A lot

Large language models excel at tasks but struggle with context, leading to potentially misleading answers despite their capabilities.
UX design
fromMedium
2 hours ago

Designing for the invisible customer

The act of choosing in design is increasingly outsourced to digital gatekeepers, redefining the role of design and aesthetics.
Web design
fromKDnuggets
5 days ago

7 Essential AI Website Builders: From Prompt to Production - KDnuggets

Artificial intelligence website builders simplify website creation, offering free plans and tailored solutions for various needs.
Marketing
from3blmedia
1 week ago

What We Learned From Talking to Hundreds of Web Designers a

Freelancers and agencies seek market-wide data to inform their business decisions and strategies.
UX design
fromProtoPie
1 day ago

AI Prototyping Tools: Why Control Matters As Much As Speed

AI prototyping tools enhance design validation by enabling high-fidelity, user-testable prototypes that require refinement beyond initial generation.
UX design
fromMedium
1 day ago

Who are we really designing for?

Designing effectively requires distinguishing between the individual User and the collective Customer.
Web development
fromCSS-Tricks
6 days ago

What's !important #8: Light/Dark Favicons, @mixin, object-view-box, and More | CSS-Tricks

SVG favicons can adapt to color schemes, and @mixin is progressing in CSS.
UX design
fromMedium
23 hours ago

The UX ground is shaking, synthetic users, building perspective

A clear design perspective is crucial; it defines what to exclude, ensuring focus on what truly matters.
#design-principles
UX design
fromSmashing Magazine
6 days ago

A Practical Guide To Design Principles - Smashing Magazine

Design principles align teams, inform decisions, and embody organizational values, serving as essential tools in the design process.
UX design
fromSmashing Magazine
6 days ago

A Practical Guide To Design Principles - Smashing Magazine

Design principles align teams, inform decisions, and embody organizational values, serving as essential tools in the design process.
UX design
fromSmashing Magazine
6 days ago

A Practical Guide To Design Principles - Smashing Magazine

Design principles align teams, inform decisions, and embody organizational values, serving as essential tools in the design process.
UX design
fromSmashing Magazine
6 days ago

A Practical Guide To Design Principles - Smashing Magazine

Design principles align teams, inform decisions, and embody organizational values, serving as essential tools in the design process.
#web-development
Web design
fromPiccalilli
3 weeks ago

Building dynamic toggletips using anchored container queries

Chrome 143 introduces anchored container queries, enabling dynamic styling based on active fallback positions in anchor positioning layouts.
UX design
fromDesign Systems Report 2026
6 days ago

Design Systems Report 2026 - brought to you by zeroheight

Design systems are transitioning from inflated expectations to disillusionment, facing challenges in adoption, resource allocation, and executive support.
Web design
fromSmashing Magazine
3 weeks ago

Beyond border-radius: What The CSS corner-shape Property Unlocks For Everyday UI - Smashing Magazine

The corner-shape property enables beveled, scooped, and squircle corners, eliminating years of workarounds like clip-path and SVG masks that caused borders, shadows, and code brittleness.
UX design
fromCSS-Tricks
1 week ago

Generative UI Notes | CSS-Tricks

Generative UI Design uses AI to create personalized user interfaces tailored to individual needs in real-time.
fromCSS-Tricks
1 month ago

An Exploit ... in CSS?! | CSS-Tricks

Google credits security researcher Shaheen Fazim with reporting the exploit to Google. The dude's LinkedIn says he's a professional bug hunter, and I'd say he deserves the highest possible bug bounty for finding something that a government agency is saying "in CSS in Google Chrome before 145.0.7632.75 allowed a remote attacker to execute arbitrary code inside a sandbox via a crafted HTML page."
Information security
Web development
fromSmashing Magazine
2 weeks ago

Dropdowns Inside Scrollable Containers: Why They Break And How To Fix Them Properly - Smashing Magazine

Dropdowns can get clipped inside scrollable panels due to overflow, stacking contexts, and containing blocks.
fromCssence
1 month ago

Breakpoints

Using such a resolution in the web browser would render a tiny illegible desktop site. To avoid that, CSS pixels add a layer of abstraction. Initially the amount of actual pixels compared to CSS pixels was simply a 2x or 3x conversion, but these days fractional scaling is also common.
Web design
fromSitePoint Forums | Web Development & Design Community
3 weeks ago

Why My CSS Changes Don't Reflect Immediately? Common Reasons & Fixes

Browser cache - Sometimes the browser is still loading the old CSS file. A hard refresh (Ctrl + F5) usually fixes it. Wrong file linked - Double-check if your HTML is actually linked to the correct CSS file. Specificity issues - Another CSS rule might be overriding your changes.
Web development
#css-animations
fromGitHub
1 month ago
JavaScript

GitHub - benhatsor/KeyframeKit: Intuitive, powerful and performant tools for working with CSS animations in JavaScript.

fromCSS-Tricks
1 month ago
Web development

What's !important #6: :heading, border-shape, Truncating Text From the Middle, and More | CSS-Tricks

fromGitHub
1 month ago
JavaScript

GitHub - benhatsor/KeyframeKit: Intuitive, powerful and performant tools for working with CSS animations in JavaScript.

fromCSS-Tricks
1 month ago
Web development

What's !important #6: :heading, border-shape, Truncating Text From the Middle, and More | CSS-Tricks

Web development
fromCSS-Tricks
3 weeks ago

4 Reasons That Make Tailwind Great for Building Layouts | CSS-Tricks

Tailwind CSS utilities make layouts more readable and mentally visualizable than traditional CSS by keeping HTML structure apparent in the code.
Web frameworks
fromRaymondcamden
1 month ago

Three Plug-N-Play CSS Libraries

Lightweight CSS libraries provide simple, attractive styling with minimal markup changes, ideal for demos, POCs, and quick clean interfaces.
Web development
fromCSS-Tricks
3 weeks ago

What's !important #7: random(), Folded Corners, Anchored Container Queries, and More | CSS-Tricks

CSS features including random(), random-item(), clip-path folded corners, backdrop-filter, tabular-nums, Popover API, and anchor positioning enable modern web design with improved functionality and visual effects.
Web design
fromRaymondcamden
1 month ago

Dyanimically Adjusting Image Text for Contrast

Color Thief library now includes TypeScript definitions and new contrast detection features, including a textColor property that automatically suggests optimal text color for readability over images.
#web-development-tools
Web development
fromwww.jqueryscript.net
3 weeks ago

Weekly Web Design & Development News: Collective #648

A curated weekly roundup of essential web development and design resources includes updated JavaScript/CSS libraries, AI tools, design assets, and emerging web technologies for 2026 projects.
fromwww.jqueryscript.net
4 weeks ago
Web development

Weekly Web Design & Development News: Collective #647

Week 11 2026 development roundup features OpenPencil AI design editor, Eldora UI components, muJS navigation library, pdfcraft browser PDF toolkit, GPT-5.4, Gemini 3.1 Flash-Lite, Navigation API baseline status, and updated Top 10 resource lists.
Web development
fromwww.jqueryscript.net
3 weeks ago

Weekly Web Design & Development News: Collective #648

A curated weekly roundup of essential web development and design resources includes updated JavaScript/CSS libraries, AI tools, design assets, and emerging web technologies for 2026 projects.
Web frameworks
fromLogRocket Blog
2 months ago

A dev's guide to Tailwind CSS in 2026 - LogRocket Blog

Tailwind CSS remains highly popular, but AI-driven code generation sharply reduced documentation traffic and Tailwind Labs' revenue, prompting major layoffs and strategic reassessment.
Web development
fromCSS-Tricks
3 weeks ago

Abusing Customizable Selects | CSS-Tricks

Web browsers' new customizable select feature enables developers to create visually unique and interactive dropdown menus with CSS and HTML, expanding creative possibilities beyond standard form elements.
Web development
fromCSS-Tricks
4 weeks ago

The Value of z-index | CSS-Tricks

Z-index values in large projects often become chaotic magic numbers due to lack of visibility across teams, leading to an arms race of increasingly higher values rather than a systematic approach.
fromVerou
2 months ago

Web dependencies are broken. Can we fix them? * Lea Verou

Dear JS ecosystem, I love you, but you have a dependency management problem when it comes to the Web, and the time has come for an intervention. No, this is not another rant about npm's security issues. Abstraction is the cornerstone of modern software engineering. Reusing logic and building higher-level solutions from lower-level building blocks is what makes all the technological wonders around us possible. Imagine if every time anyone wrote a calculator they also had to reinvent floating-point arithmetic and string encoding!
Node JS
Web development
fromFrontendmasters
1 month ago

The Big Gotcha of Anchor Positioning

Anchor Positioning in CSS has significant limitations preventing elements from being positioned relative to others regardless of DOM placement, requiring careful consideration of element ordering and positioning values.
Web development
fromCSS-Tricks
1 month ago

The Different Ways to Select in CSS | CSS-Tricks

CSS pseudo-classes like :root, :scope, and the & selector provide different ways to target and style the root element, with :root offering higher specificity and :scope providing semantic clarity for global scope declarations.
fromCSS-Tricks
1 month ago

Potentially Coming to a Browser :near() You | CSS-Tricks

By how much? Well, that would depend on the value of the <length> argument provided. Thomas Walichiewicz, who proposed :near(), suggests that it works like this: button:near(3rem) { /* Pointer is within 3rem of the button */ } For those wondering, yes, we can use the Pythagorean theorem to measure the straight-line distance between two elements using JavaScript ("Euclidean distance" is the mathematical term), so I imagine that's what would be used behind the scenes here.
UX design
fromSmashing Magazine
2 months 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
fromblog.logrocket.com
2 months ago

Which UI libraries/frameworks support the Linear aesthetic? - LogRocket Blog

Teams often use customer and user interchangeably until it breaks alignment. Here's how separating the two clarifies research, prioritization, and messaging across B2C, B2B, and B2B2C products.
UX design
Web design
fromSmashing Magazine
2 months ago

Rethinking "Pixel Perfect" Web Design - Smashing Magazine

Pixel-perfect design is an outdated, misleading ideal; modern, multi-device web development requires flexible, fluid definitions of perfection that prioritize adaptability over fixed pixel replication.
fromCSS-Tricks
2 months ago

There is No Need to Trap Focus on a Dialog Element | CSS-Tricks

WCAG is not normatively stating focus must be trapped within a dialog. Rather, the normative WCAG spec makes zero mention of requirements for focus behavior in a dialog. The informative 2.4.3 focus order understanding doc does talk about limiting focus behavior within a dialog - but again, this is in the context of a scripted custom dialog and was written long before inert or <dialog> were widely available.
UX design
fromSitePoint Forums | Web Development & Design Community
2 months 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 &amp; 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
fromCSS-Tricks
2 months ago

What's !important #4: Videos & View Transitions, Named Media Queries, How Browsers Work, and More | CSS-Tricks

Chris Coyier demonstrates how to maintain a video's state across different pages using CSS view transitions. He notes that this is fairly easy to do with same-page view transitions, but with multi-page view transitions you'll need to leverage JavaScript's pageswap event to save information about the video's state in sessionStorage as a JSON string (works with audio and iframes too), and then use that information to restore the state on pagereveal. Yes, there's a tiiiiny bit of audio stutter because we're technically faking it, but it's still super neat.
Web development
Web development
fromLogRocket Blog
2 months ago

CSS in 2026: The new features reshaping frontend development - LogRocket Blog

Modern CSS can replace JavaScript for many interactive features, enabling complex animations, customizable controls, and scroll interaction through new native CSS features.
fromCSS-Tricks
1 month ago

Making a Responsive Pyramidal Grid With Modern CSS | CSS-Tricks

Support is limited to Chrome only because this technique uses recently released features, including corner-shape, sibling-index(), and unit division. In this article, we will explore another type of grid: a pyramidal one. We are still working with hexagon shapes, but a different organization of the elements. A demo worth a thousand words: For better visualization, open the full-page view of the demo to see the pyramidal structure. On screen resize, you get a responsive behavior where the bottom part starts to behave similarly to the grid we created in the previous article!
Web development
Web development
fromSmashing Magazine
2 months ago

Smashing Animations Part 8: Theming Animations Using CSS Relative Colour - Smashing Magazine

CSS relative colour values and OKLCH enable simpler, controllable theming and dynamic animation of SVG graphics, including time-based and interaction-based palette changes.
fromWebKit
2 months ago

When will CSS Grid Lanes arrive? How long until we can use it?

Anytime an exciting new web technology starts to land in browsers, developers want to know "when in the world am I going to be able to use this?" Currently, the finalized syntax for Grid Lanes is available in Safari Technology Preview. Edge, Chrome and Firefox have all made significant progress on their implementations, so it's going to arrive sooner than you think. Plus, you can start using it as soon as you want to with progressive enhancement.
Web development
fromprojectwallace.com
1 month ago

The CSS Selection - 2026 Edition - Project Wallace

Welcome to The CSS Selection 2026! In this article we're having a look at how CSS is used at scale on over 100,000 websites. We'll look at what things are common on most websites and discover interesting outliers. This is the first edition of what I hope to be many, so this is meant as a baseline for future editions, setting up the first numbers to compare with in coming years.
Web development
fromAlways Twisted
2 months ago

Introducing ReliCSS: A Tool for Front-End Archaeology

As a contracting front-end developer and Design Systems consultant, I don't always get to work on new things. Sometimes I work within codebases. Sometimes alongside them. Sometimes these codebases are years and years old. When you dive into these projects, you're not just reading code, you're excavating years of decisions, technological limitations, and creative workarounds from days gone by. Over the last decade, I've called this Front-End Archaeology.
Web development
fromWebKit
2 months ago

New Safari developer tools provide insight into CSS Grid Lanes

CSS Grid Lanes adds a whole new capability to CSS Grid. It lets you line up content in either columns or rows - and not both. This layout pattern allows content of various aspect ratios to pack together. No longer do you need to truncate content artificially to make it fit. Plus, the content that's earlier in the HTML gets grouped together towards the start of the container. If new items get lazy loaded, they appear at the end without reshuffling what's already on screen.
Web development
Web development
fromInfoQ
2 months ago

HTML Invoker Commands Achieve Baseline Support Across All Major Browsers

HTML Invoker Commands API enables declarative button controls (commandfor and command) for popovers and dialogs, reducing reliance on JavaScript and improving initial interactivity.
fromwww.jqueryscript.net
2 months ago

Weekly Web Design & Development News: Collective #640

Everything you need to know in development &amp; design this week, rounded up for you (Week 4, 2026). You'll find the most essential things right now: JavaScript &amp; CSS libraries, useful code snippets, crucial web dev news &amp; resources, curated AI tools, free design assets, and plenty of other good stuff we found! Highlights: 2026 Tech Stack Refresh! Dive into updated &quot;Top 10&quot; lists for Off-canvas menus, responsive dropdowns, fullscreen navs, and more to get your projects ready for the year ahead.
Web development
[ Load more ]