Nic
This week I learnt...

This week I learnt...

Follow
Follow
homebadges
Tag

CSS

#css

More content

Read more stories on Hashnode


Articles with this tag

Using :has as a previous sibling selector

Dec 3, 20233 min read

I got very excited this week when I finally used :has. The trouble with it has been browser support, which isn't yet high enough to use it in...

Using :has as a previous sibling selector

Link with a line after which change places on hover

Nov 19, 20233 min read

I recently had a design that included a link with had a line after the text. When hovering on the link the line should end up before the text. The...

Link with a line after which change places on hover

A use case for :is

Jun 25, 20231 min read

I've known that :is and :where have existed for a while. But I hadn't seen a reason to change my autopilot of comma separation. Until recently. I had...

A use case for :is

CSS Modules

Jun 11, 20231 min read

I wanted to try out new CSS things and in the State of CSS survey 2022 CSS Modules was pretty high up on the list. I used it in a Vue project using...

CSS Modules

Button with border gradient

May 7, 20233 min read

Recently I had to do a button that had a gradient border. There are a couple of ways of doing this. Set up The initial HTML is just a...

Button with border gradient

CSS Battle 22

Apr 23, 20232 min read

I am (very slowly) working through CSS Battle. It gives you a picture that you have to recreate in CSS. To score highly you have to have as few...

CSS Battle 22