Articles
Injecting a Line Break
I had a little situation where I had a header with a span in it, and I wanted to make sure to put a line break before the span. For the record, there really isn’t anything wrong with just chucking …
CSS Modules and React
In this final post of our series on CSS Modules, I’ll be taking a look at how to make a static React site with the thanks of Webpack. This static site will have two templates: a homepage and an about …
HEAD
Josh Buchea has collected “A list of everything that goes in the
. Over 100 <head>
of your document”<meta>
tags alone!…
Orientation Lock
@media screen and (min-width: 320px) and (max-width: 767px) and (orientation: landscape) {
html {
transform: rotate(-90deg);
transform-origin: left top;
width: 100vh;
overflow-x: hidden;
position: absolute;
top: 100%;
left: 0;
}
}
Sent in by Andreas Gotfredsen.…
All or Nothing
Jonathan Snook takes a look at the all
property which can be used like this:
.element {
all: initial;
}
The idea is that it should set all properties of an element to initial
, removing all custom styling thus …
ease-out, in; ease-in, out
We got to talking about easing in a recent episode of ShopTalk with Val Head and Sarah Drasner. Easing is important stuff when it comes to animations and transitions. Combined with the duration, it has a huge effect on the …
Screamy Bird
During San Francisco’s Stupid Shit No One Needs and Terrible Ideas “Hackathon”, Glen Chiaccheri made a game where you have to literally scream your way through it.
Make sure to check it out in Firefox, as Chrome and …
An Intro to Bedrock for WordPress
The following is a guest post by Alessandro Vendruscolo, who wrote to me excited to write a guest post about a WordPress tool that I didn’t know much about: Bedrock. It’s not a theme, it’s a way to …