Diana Smith with another mind-bending all HTML & CSS painting.
You want to set some text inside the shape of a circle with HTML and CSS? That’s crazy talk, right?
This is by far the most common use case for negative margins. You give a container a padding so that its contents have some breathing space. However, you want the header to span the entire container, ignoring the padding. Negative margins are the way to go.
I’ve been coding for about one year now and got my first job a month ago. Even though I’ve been coding for that time, … Read article “How Building in the Open Can Change Our Industry”
The distance between Internet Explorer (IE) 11 and every other major browser is an increasingly gaping chasm. Adding support for a technologically obsolete browser adds an inordinate amount of time and frustration to development. Testing becomes onerous. Bug-fixing looms large. Developers have wanted to abandon IE for years, but is it now financially prudent to do so?… Read article “A Business Case for Dropping Internet Explorer”
Surprise: scrollbars are complicated, especially cross-browser and cross-platform.
Earlier this week, Bastian Allgeier published some interesting thoughts about complexity in web development and how changing simple things can often feel far more difficult than they need to be:
Perhaps the easiest way to offer that to the user is a link that targets an ID on the element. So like…
Animating with requestAnimationFrame should be easy, but if you haven’t read React’s documentation thoroughly then you will probably run into a few things that might cause you a headache. Here are three gotcha moments I learned the hard way.
I’m so excited to be heading to Zürich, Switzerland for Front Conference (Love that name and URL!). I’ve never been to Switzerland before, so I’m excited about that, but of course, the web nerd in me is excited to be at the conference with lots of fellow webfolk. Some old friends, but mostly new people I’ve never met before but admire their work. Yessssss.… Read article “Front Conference in Zürich”