44 Followers
151 Following
431 Posts

JavaScript CSS Web Developer living in #Grenoble, France 🇫🇷

Cyclist, Runner, Father

websitehttps://andrewhudson.dev
11ty sitehttps://big-andy.co.uk
Githubhttps://github.com/bigandy
codepenhttps://codepen.io/bigandy

Circles around a square with lines to the middle with CSS anchor and new translation. Try it in latest Canary

https://codepen.io/bigandy/pen/GgZMKYP?editors=1000

With inline if() and style range queries it is possible to have custom style container or media queries. For example

content: if(
style(100vw > var(--width-to-test)): "match";
else: "no-match"
);

or

background-color: if(
style(100cqi >= var(--cq-width-test)): green;
else: red
);

Check this out in Chrome Canary:

https://codepen.io/bigandy/pen/bNVyyJL?editors=0100

#css

@mia @chriscoyier

Dynamic (Container/Media) Query (try out in Chrome Canary!)

https://codepen.io/bigandy/pen/bNVyyJL?editors=0100

with style range queries. Works with both container and media queries.

#css

Woop sibling-count() and sibling-index() being prototyped in Chrome Canary. Check out this demo using it:

https://codepen.io/bigandy/pen/dPyWoVb?editors=0100

sibling-count() and sibling-index() in Chrome Canary (with Experimental Web Platform features enabled)

...

Great that LIb Dems won in my local (Didcot and Wantage) constituency. Fantastic that there's so much orange on the map!
v2 Boxes around box with line to middle (Chrome+)

...

Boxes around a square with line to middle

https://codepen.io/bigandy/pen/LYodVMM

#css #codepen #css5

Boxes around box with line to middle (Chrome+)

...

css squares in a square animation with css trig and clamp()

https://codepen.io/bigandy/pen/eYaMNdv?editors=0100

@rachsmith

#css #css5 #codepen

Boxes around a box CSS animation

...

Mouse + Balloons in Strings (Chrome+)

...

Balloons in Strings (Chrome+)

...