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

IT consultant at @ideasonpurpose & #css 👨‍🎨 at https://xitter.cf/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,135
169,846
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,154
380,146
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,812
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
118
51,135
Codrin Pavel retweeted
I’ve built a *very* shiny button 🫳🪩
834
5,631
1,897
69,270
11,165,431
"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
339
45,946
“Please beat Minesweeper to cancel your subscription”
96
745
155
8,681
1,130,808
My guilty pleasure is checking out fancy portfolio sites and then running the URL through PageSpeed Insights
29
38
6
846
197,010
Codrin Pavel retweeted
</2019> <2020> <2021> <2022></2022> </2021> </2020> <2023>
38
775
87
4,597
284,029
Codrin Pavel retweeted
Ever wondered how a QR code works? No, me neither but it's low-key fascinating. (Warning, there is some extremely nerdy shit here.👇 )
210
7,731
831
31,102
We're looking for a senior designer to join us. We are a creative agency telling purpose-driven stories at the intersection of business & society. IOP is invested in driving change through communications with ESG at the core. Please share! #jobs #hiring ideasonpurpose.com/jobs/seni…
1
1