(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.data-privacy-src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-1596564-1', 'auto'); ga('send', 'pageview');
Home » NewsBlog » CSS

An Overview of Render Props in React

2018-11-17T03:04:43+00:00November 17th, 2018|Categories: News, Tutorials|Tags: |

An Overview of Render Props in React Using render props in React is a technique for efficiently re-using code. According to the React documentation, "a component with a render prop takes a function that returns a React element and calls it instead of implementing its own render logic." To understand what that means, let’s take [...]

Scaling CSS: Two Sides of a Spectrum

2018-11-16T03:04:48+00:00November 16th, 2018|Categories: News, Tutorials|Tags: |

The subject of scaling CSS came up a lot in a recent ShopTalk Show with Ben Frain. Ben has put a lot of thought into the subject, even writing a complete book on it, Enduring CSS, which is centered around a whole ECSS methodology. He talked about how there are essentially two solutions for styling [...]

CSS Animations and Transitions in Email

2018-11-16T03:04:48+00:00November 16th, 2018|Categories: News, Tutorials|Tags: |

We don't generally think of CSS animations or transitions inside of email, or really any movement at all outside of an awkward occasional GIF. But there is really no reason you can't use them inside HTML emails, particularly if you do it in a progressive enhancement-friendly way. Like, you could style a link with a [...]

Why monday.com is the Universal Team Management Tool for Your Team

2018-11-16T03:04:47+00:00November 16th, 2018|Categories: News, Tutorials|Tags: |

This platform is perfect for teams sized at 2-to-200 — and gives every employee the same level of transparency. Every project management tool seeks to do the same instrumental thing: keep teams connected, on task and on deadline to get major initiatives done. But the market is getting pretty crowded, and for good reason — [...]

Keyboard-Only Focus Styles

2018-11-15T03:05:16+00:00November 15th, 2018|Categories: News, Tutorials|Tags: |

Like Eric Bailey says, if it's interactive, it needs a focus style. Perhaps your best bet? Don't remove the dang outlines that focusable elements have by default. If you're going to rock a button { outline: 0; }, for example, then you'd better do a button:focus { /* something else very obvious visually */ }. [...]

Dark modes with CSS

2018-11-15T03:05:15+00:00November 15th, 2018|Categories: News, Tutorials|Tags: |

With the introduction of dark mode in macOS, Safari Technology Preview 68 has released a new feature called prefers-color-scheme which lets us detect whether the user has dark mode enabled with a media query. That’s right. If this becomes a little bit more supported in other browsers, then we might potentially soon have a way [...]

CSS and Network Performance

2018-11-14T03:05:16+00:00November 14th, 2018|Categories: News, Tutorials|Tags: |

JavaScript and images tend to get the bulk of the blame for slow websites, but Harry explains very clearly why CSS is equally to blame and harder to deal with: A browser can’t render a page until it has built the Render Tree; the Render Tree is the combined result of the DOM and the [...]

The “C” in CSS: The Cascade

2018-11-14T03:05:12+00:00November 14th, 2018|Categories: News, Tutorials|Tags: |

Following up from Geoff’s intro article on The Second "S" in CSS, let’s now move the spotlight to the "C" in CSS — what we call the Cascade. It’s where things start to get messy, and even confusing at times. Have you ever written a CSS property and the value doesn’t seem to work? Maybe [...]

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it. Ok