style
第一种方法:将需要竖排显示的字符放在span中,在CSS中设置span的display属性为block,不过不推荐使用这种方法,因为有些麻烦,代码如下: h1 span { display: block; } N E
Natalie Munro is Who What Wear UK’s news writer. Having worked in the fashion industry since her time at university—where she obtained a BA in Journalism fro…
Throwback to my weird #CSS technique for bitwise deconstruction of some color via relative color syntax and some math, and then reassembling its bits via contai…
This is another post about a small design tweak that I made around two years ago to both my blog and main website. I never shared it, because, well, it feels ve…
I was doing some styling recently, and I wanted to know if my element was inside a certain container. While I could reuse the same selector that I used to apply…
When I updated how I am doing scroll markers for the table of contents in this blog, I stumbled upon one curious interaction that I previously did not think dee…
I originally wanted to write about something else today but, for some reason, did not have any motivation for it. But hey, let me then do the best thing I could…
Media queries are nice, but for many things, we don’t even need them: there is this great CSS property `color-scheme`, which allows us to make various things ad…
My Flow utility class was applying margins around invisible elements like and tags, throwing off the vertical rhythm around them. Here's what I…





