Codrin Pavel (@zerospree) header
Codrin Pavel (@zerospree) profile picture

IT consultant at @ideasonpurpose & #css 👨‍🎨 at https://xitter.gq/t.co/rSwfpL11jh

Joined March 2014
Photo by Codrin Pavel (@zerospree)Photo by Codrin Pavel (@zerospree)Photo by Codrin Pavel (@zerospree)Photo by Codrin Pavel (@zerospree)Photo by Codrin Pavel (@zerospree)Photo by Codrin Pavel (@zerospree)Photo by Codrin Pavel (@zerospree)Photo by Codrin Pavel (@zerospree)Photo by Codrin Pavel (@zerospree)Photo by Codrin Pavel (@zerospree)
Codrin Pavel retweeted
I did not expect this question to lead to two fantastic examples of new CSS features: allow-discrete - transition between things like display:none and block @‍starting-style - define the initial state before an element is transitioned to These are so good! will cut out so much JS
Is it really not possible to add a CSS animation or transition to a <dialog> modal without adding a bunch of JS? I thought I'd be able to transition between :modal → [open], but it doesn't seem to be the case Code / Demo codepen.io/wesbos/pen/vYwLYx…
18
114
10
1,134
169,850
hey @ZARA did you know your mobile site automatically chooses an address from the existing ones in the profile and never prompts you to verify it? Now I need to go through hoops to change my delivery ugh #badux
104
Codrin Pavel retweeted
Anyway, how’s your day going? <style type="module" name="button"> :host(:--theme(primary)) { @​extend %button-primary; } :host(:--theme(secondary)) { @​extend %button-secondary; } </style> <a-button> <template shadowroot="open" adoptedstyles="button">
1
1
11
3,566
Codrin Pavel retweeted
text-wrap: balance and friends are great, but what I often need is the <br> version of &shy; “If you need a line break, here's a good place, but if not, nvm!” cc @fantasai @kojiishi
7
3
39
9,706
How would you rate your HTML knowledge? 🤔 We added a very difficult HTML quiz on the platform. Let’s see how much you can score 😁 Try it out on icodethis.com/quizzes?ref=tw…
11
3
22
4,964
Codrin Pavel retweeted
CSS Nesting has hit Firefox 117, so as of August 29, we will have it in every browser!
51
348
53
2,153
380,147
Codrin Pavel retweeted
For a few milliseconds though it was Daft Punk min() it, max() it, var() it, clamp() it, color() scale() it, tan(), invert() it calc() it, sin() it, pow() it, log() it circle() cos() rotate() translate() it Technologic. Technologic. v_v
2
11
2
141
6,863
Codrin Pavel retweeted
This is very concerning news for the future of serverless / jamstack architectures. I hope other companies can step up and fund @zachleat’s work on @eleven_ty. 👀 Here’s 11ty’s @opencollect: opencollective.com/11ty zachleat.com/web/eleventy-si…
1
8
13
6,719
Tech companies honest headlines: another thread 1. Jira
23
527
87
2,917
573,813
Codrin Pavel retweeted
Me when I talk about my airfryer
I absolutely love people that have a burning passion for something 🔥 This can be literally anything; be it motorcycling, learning languages, surfing, or whatever you can think of. It doesn't matter 🙋‍♂️ Seeing the glow in their eyes when they talk about it is truly inspiring 💪
23
5
207
90,210
Codrin Pavel retweeted
Turns out drag & drop *is* supported (I must've done something wrong when I tried it). The rest still applies. It's annoying how few applications allow you to upload an image by pasting, it would be great if it just worked with anything that has a file input.
1
2
27
4,448
Codrin Pavel retweeted
Some really great points here, I agree with a lot of this. Re: Single Page Apps williamkennedy.ninja/javascr…
14
15
6
117
51,135
Codrin Pavel retweeted
I’ve built a *very* shiny button 🫳🪩
834
5,630
1,897
69,246
11,165,521
"The `margin-trim` property allows the container to trim the margins of its children where they adjoin the container's edges." developer.mozilla.org/en-US/… — No more targeting first/last children to remove their margins. I feel spoiled! ☺️ #CSS Available now in Safari Tech Preview
8
48
3
340
45,946
“Please beat Minesweeper to cancel your subscription”
96
745
155
8,681
1,130,809