css

Tag

Cards List
#css

The beauty of CSS mixins

Lobsters Hottest ↗ · 5d ago Cached

Patrick Brosset previews native CSS mixins (@mixin/@apply), a new CSS construct being implemented by his Microsoft team in Chromium that lets developers define reusable blocks of declarations, parameters, and conditional rules. The feature is experimental but close to shipping in Chromium-based browsers.

0 favorites 0 likes
#css

October in Servo: video captions and inert content

Lobsters Hottest ↗ · 6d ago Cached

Servo 0.8.0 shipped with a record 588 commits from October, adding video captions, inert trees, new CSS/DOM APIs, WebAudio nodes, and fixing a Flutter web performance hang.

0 favorites 0 likes
#css

Select Styling Specimens

Simon Willison's Blog ↗ · 2026-11-22 Cached

Simon Willison shares a utility page showcasing all the ways HTML select boxes can be styled, along with his favorite cross-browser CSS snippet to make them look consistent across Chrome, Safari, and Firefox.

0 favorites 0 likes
#css

Visited links are purple

Lobsters Hottest ↗ · 2026-11-20 Cached

Blogger David Bushell explains why he decided to style `:visited` links purple on his site, covering WCAG guidance, browser privacy constraints, and Chromium's 2025 `:visited` link partitioning, plus a shout-out to the bubbles.town RSS aggregator.

0 favorites 0 likes
#css

cursor:pointer on buttons

Lobsters Hottest ↗ · 2026-11-15 Cached

The CSS Working Group resolved to adopt `cursor: pointer` for buttons and other interactive elements in base-appearance styles, and the author (who has advocated for this since 2013) discusses the long-running debate and why pointer better communicates interactivity than the default cursor.

0 favorites 0 likes
#css

Pico CSS is no longer maintained

Hacker News Top ↗ · 2026-10-30 Cached

Pico CSS is being discontinued as of v2.1.1, with the maintainer citing AI's ability to generate lightweight, standalone, accessible HTML as the reason a minimal CSS framework matters less now. Repositories are archived, but npm, CDN, and the site stay online under the MIT license.

0 favorites 0 likes
#css

A select should tell you something

Lobsters Hottest ↗ · 2026-10-27 Cached

一篇关于 CSS `appearance: base-select` 可自定义下拉选择组件的博客文章,展示五个 before/after 案例,说明选项现在可以包含预览、数值、职位等富内容,让选择列表本身就能提供决策所需的信息,而不是只有一行纯文本。

0 favorites 0 likes
#css

CSS-Tricks has a new owner

Lobsters Hottest ↗ · 2026-10-26 Cached

CSS-Tricks 宣布脱离 DigitalOcean 重回独立运营,由长期撰稿人接手成为新任所有者,并计划通过广告、会员制和 HTML/CSS 新手课程等方式维持网站运营。

0 favorites 0 likes
#css

Websites Should Be Printable

Lobsters Hottest ↗ · 2026-10-26 Cached

作者分享如何使用 CSS 的 @media print 规则优化网页的打印效果,包括调整字号、隐藏不必要元素和链接颜色处理,呼吁更多开发者关注网页的可打印性。

0 favorites 0 likes
#css

Improving accessibility with CSS media queries (2025)

Lobsters Hottest ↗ · 2026-10-21 Cached

一篇关于利用 prefers-contrast、prefers-reduced-motion、prefers-color-scheme 等 CSS 媒体查询提升网站可访问性的前端实践文章,介绍如何在不重做设计的前提下响应用户偏好设置。

0 favorites 0 likes
#css

The Future of CSS

Hacker News Top ↗ · 2026-10-21 Cached

Josh W. Comeau previews the top CSS features he voted for in Interop 2027, highlighting how the cross-browser Interop project drives rapid adoption of new web standards like CSS functions and corner-shape.

0 favorites 0 likes
#css

CSS for underlines

Lobsters Hottest ↗ · 2026-10-12 Cached

博客文章讨论了 CSS 下划线长期存在的问题(颜色只能继承、粗细不统一),以及 text-decoration-thickness/color 等新属性如今在所有主流浏览器中普及,让开发者无需再用 border 模拟下划线。

0 favorites 0 likes
#css

Iframes that finally fit their content

Lobsters Hottest ↗ · 2026-10-10 Cached

Chrome 154 引入了 frame-sizing CSS 属性和 responsive-embedded-sizing 元标签,让跨源 iframe 可以自动根据内容高度自适应,无需 postMessage 或 resize 脚本,但要求嵌入页面主动配合。文章对比了过去用 JavaScript 测量高度的种种问题,并介绍了新方案的用法与限制。

0 favorites 0 likes
#css

A sustainable web career, for when all this blows over

Lobsters Hottest ↗ · 2026-10-06 Cached

Designer and front-end developer David Bushell argues that web professionals should weather the industry's AI-driven downturn by doubling down on durable skills: accessibility, deep CSS knowledge, and communication, rather than chasing hype.

0 favorites 0 likes
#css

@FinanceYF5: Finally, someone has turned "web crawler" into a spider that truly crawls on web pages. Pure JS × CSS

X AI KOLs Timeline ↗ · 2026-10-02

A creative web crawler implementation that visually renders as a spider crawling across web pages, built with pure JavaScript and CSS.

0 favorites 0 likes
#css

CSS Bed: Classless CSS themes to use as starting points in web development

Hacker News Top ↗ · 2026-10-01 Cached

CSS Bed 是一个类无(classless)CSS 主题合集,提供 20 多个可作为网页开发起点的轻量主题(如 Pico.css、Water.css、Simple.css),只需在页面 <head> 中引入一段代码即可使用。

0 favorites 0 likes
#css

Detect when elements overlap with CSS

Lobsters Hottest ↗ · 2026-09-28 Cached

The article demonstrates how to detect element overlap in CSS using anchor positioning and scroll-driven animations to dynamically hide decorative elements based on space constraints.

0 favorites 0 likes
#css

Ten Lines Of Code That Changed My World

Lobsters Hottest ↗ · 2026-09-27 Cached

The author reflects on ten lines of code that hold personal significance, from introductory programming to nostalgic hacks, highlighting emotional connections to coding.

0 favorites 0 likes
#css

Improving site performance by shipping more CSS

Lobsters Hottest ↗ · 2026-09-27 Cached

GitHub's Primer design system migrated from CSS-in-JS to CSS Modules, resulting in 55% faster server-side rendering and 25% reduced client-side style computation time.

0 favorites 0 likes
#css

Shadow roots, explained with live examples

Simon Willison's Blog ↗ · 2026-09-23 Cached

This tool provides interactive examples to explain shadow roots in CSS, demonstrating style encapsulation, inheritance, slots, and JavaScript access.

0 favorites 0 likes
Next →
← Back to home

Submit Feedback