#css (1,123 links)
- Refactoring Your Way to a Design System 24ways.org
Mina Markham 23 Dec ember 2017 Published in Code I love refactoring code. Absolutely love it. There’s something about taking a piece of UI or a bit of code and…
How we created a spacing system that aligned our teams and related to our designs in a meaningful way. We’ve gone over how we tackle colors and typography in…
- Server Side Mustard Cut | CSS-Tricks css-tricks.com
The term "mustard cutting" in web design comes from developers at the BBC who wanted to serve different experiences of their site to different browsers on…
- The Burden of Precision daneden.me
“ If the idea is there, the brush can spare itself the work” —Chinese painter’s proverb Design tools today confine us to an unrealistic and ill-advised goal:…
- Chinese Standard Web Fonts: A Guide to CSS Font Family Declarations for Web Design in Simplified Chinese - Kendra Schaefer kendraschaefer.com
June 11, 2012 Massive Google fail. Since days of searching have brought me no closer to answering my most pressing Chinese font questions, I bit the bullet and…
Managing Font Loading CSS Was Painful—Not Anymore 01 November 2017 Read in about 1 minute One of the most painful pieces of maintaining a web font loading…
- My approach to using z-index – Hacker Noon hackernoon.com
The last time I got straight to the point people seemed to appreciate it. So… The short version Categorise all uses of z-index as either local or global. Local…
- CSS Grid Gotchas And Stumbling Blocks – Smashing Magazine smashingmagazine.com
In March this year, CSS Grid shipped into production versions of Chrome, Firefox and Safari within weeks of each other. It has been great to see how excited…
- Designing Websites for iPhone X webkit.org
Out of the box, Safari displays your existing websites beautifully on the edge-to-edge display of the new iPhone X. Content is automatically inset within the…
- Removing the White Bars in Safari on iPhone X stephenradford.me
The new iPhone X features a beautiful edge-to-edge display. Well, almost. There is the small issue of a notch at the top of the browser which doesn't cause an…
- Basic grid layout with fallbacks using feature queries chenhuijing.com
I’ve been using CSS grid (which henceforth will be referred to as Grid) for quite a bit now, and although I often talk about how we can use grid to make all…
- The state of hidden content support in 2016 developer.paciellogroup.com
Posted on Tuesday, 26 January 2016 by Steve Faulkner Category: Development Category: Standards Category: Testing I have reported previously on support in…
Web layouts evolve pretty quickly. First we used tables, next, floats and positioning, then inline block made a short appearance, followed by the almighty…
- Basekick github.com
An experimental mixin for realigning your typographic elements with proper graphic design baseline. The intent is to make it much easier to compose pages while…
- Critical CSS and Webpack: Automatically Minimize Render-Blocking CSS vuejsdevelopers.com
“Eliminate render-blocking JavaScript and CSS” . It’s the one Google Page Speed Insights suggestion that I always get stuck with. When a web page is accessed,…
- The Critical Request | CSS-Tricks css-tricks.com
Serving a website seems pretty simple: Send some HTML, the browser figures out what resources to load next. Then we wait patiently for the page to be ready.…
- Please Stop "Fixing" Font Smoothing · The Usability Post usabilitypost.com
I wrote two posts on the topic of WebKit font smoothing before, but unfortunately the situation has grown worse since then. In allowing the designer to pick…
- Enhancing CSS Layout: From Floats To Flexbox To Grid – Smashing Magazine smashingmagazine.com
Earlier this year, support for CSS grid layout landed in most major desktop browsers. Naturally, the specification is one of the hot topics at meet-ups and…
Building a highly consumable UI component library is no easy feat and this article will focus on one particular tricky aspect of it: outer component spacing .…
- Sticky headers (#1/3) remysharp.com
I have mixed feelings about sticky headers on web pages, but it annoys me more when the implementation causes scroll jank or contributes to it. The coding…
- Using CSS variables correctly - Mike Riethmuller madebymike.com.au
Using CSS variables correctly June 18, 2017 CSS Variables (also known as Custom Properties) are now supported in all modern browsers and people are starting to…
- Full Width Containers in Limited Width Parents | CSS-Tricks css-tricks.com
I bookmarked a tweet a few months ago, as it was a bonafide CSS trick and that's what we love around here. The issue is: how do we make a full-browser-width…
👋 Hello new visitors! Looks like this post has been getting some attention, bringing you here … welcome! 🙂 If you happen to like this kind of post: my blog is…
- autoprefixer-7-browserslist-2-released evilmartians.com
Autoprefixer 7.0 is released! Learn about the key features — and why the addition of Browserslist 2.0 is the largest change. Autoprefixer was released four…
styled-components/primitives Announcing styled-components/primitives, an experimental entry point combining styled-components and react-primitives Creating…
- Drop Caps: Historical Use And Current Best Practices With CSS – Smashing Magazine smashingmagazine.com
Advertisement Many companies try to create a great experience for customers. But few are willing to make the changes required to deliver on that promise. In…
- text-decoration-skip | CSS-Tricks css-tricks.com
The text-decoration-skip property specifies where a text underline, overline, or strike-through should break. This improves legibility of decorated text and…
- Aspect Ratio Boxes | CSS-Tricks css-tricks.com
I had a little situation the other I needed to make one of those aspect-ratio friendly boxes . This isn't particularly new stuff. I think the original credit…
- Web Framework - Home getmwf.com
NEW MWF Validator A powerful tool that quickly scans, evaluates and reports any potentially breaking issues on your MWF website. TRY THE VALIDATOR NEW Persona…
- User Facing State | CSS-Tricks css-tricks.com
Let's talk about state . Communicating state to the user that is, not application stores state in JavaScript objects, or localStorage. We're going to be talking…
- A Love Letter to CSS developer.telerik.com
When I tell coworkers of my unabated love for CSS they look at me like I’ve made an unfortunate life decision. “Let’s sit down TJ, and talk about the poor…
- Emmet Re:view re-view.emmet.io
A browser extension for displaying responsive web-pages in a side-by-side views to quickly test how it looks at different resolutions and devices. Install…
- Under-Engineered Custom Radio Buttons and Checkboxen adrianroselli.com
May 29, 2017 ; I keep seeing overly-complex controls with additional elements as style hooks, scripting to make up for non-semantic replacements, images that…
- 7 Habits of Highly Effective Media Queries bradfrost.com
As we all know, media queries are responsive design’s secret sauce. Here are some considerations for crafting high-quality media queries: Let content determine…
In the past few years we’ve seen the rise of CSS-in-JS , emerging primarily from within the React community. This, of course, hasn’t been without its…
- Understanding Masonry Layout - SitePoint sitepoint.com
The modern web design world is an innovative one. Table-based lists with offset pagination are rapidly falling out of favor, whereas Masonry layouts with…
- Create a Responsive CSS-only Masonry layout w3bits.com
Pinterest has inspired many to do a masonry-based layout on their sites. We have some solid JavaScript alternatives out there to create masonry layouts, but how…
- CSS :focus-within | scottohara.me scottohara.me
The :focus-within pseudo-class is a CSS Level 4 selector that has recently picked up a bit of steam with FireFox, Safari, and (at the time of writing this)…
- hanging-punctuation | CSS-Tricks css-tricks.com
The hanging-punctuation property aims at giving web designers a finer grained control over typography on the web. The idea behind hanging punctuation is to put…
- Easing Linear Gradients | CSS-Tricks css-tricks.com
Linear gradients are easy to create in CSS and are extremely useful. As we'll go through in this article, we can make them visually much smoother by creating…
- Individualizing CSS Properties with CSS Variables danielcwilson.com
April 7, 2017 In “A Trick: Individual CSS Transform Functions” , I discussed how we could use CSS Variables (Custom Properties) to bring us close to independent…
- The invisible parts of CSS · MadebyMike madebymike.com.au
The invisible parts of CSS 03 Apr 2017 If you use CSS in your daily work, your primary goal is probably focused around making things ‘look right’. How this is…
- Stylelint generator maximgatilin.github.io
Stylelint is a modern CSS linter. Here you can create your configuration file. The best way to use stylelint is to extend stylelint-config-standard , so you can…
This is a reply to a post on zellwk.com concluding that “So.. I’m sorry to break your bubble, pixel fans, but it’s a no-go for pixel based queries.” There are a…
- Content-out Layout alistapart.com
Illustration by Kevin Cornell Grids serve well to divide up a predefined canvas and guide how content fits onto a page, but when designing for the web’s fluid…
- Hassle-free Full Bleed with *:not() daverupert.com
Let’s say you’re making a blog post layout. Content is entered into a CMS inside a WYSIWYG editor field. You echo that conent to the page. You pull it up on a…
- A better approach to CSS aspect ratios keithjgrant.com
There’s an old hack for creating elements with a fixed aspect ratio that involves using a percentage-based padding. You may be familiar with it. It looks…
- CSS Grid Layout and Progressive Enhancement developer.mozilla.org