
IT consultant at @ideasonpurpose & #css 👨🎨 at https://xitter.cf/t.co/rSwfpL11jh
Joined March 2014
- Tweets1.1K
- Following510
- Followers243
- Likes1.5K
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…
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">
Codrin Pavel retweeted
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…
Codrin Pavel retweeted
CSS Nesting has hit Firefox 117, so as of August 29, we will have it in every browser!
Codrin Pavel retweeted
Replying to @argyleink @SaraSoueidan
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
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…
Codrin Pavel retweeted
Me when I talk about my airfryer
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.
Codrin Pavel retweeted
cloudcannon.com is #BuiltWithEleventy 🏆
Learn more on their excellent launch blog post: cloudcannon.com/blog/cloudca…
Codrin Pavel retweeted
Some really great points here, I agree with a lot of this.
Re: Single Page Apps
williamkennedy.ninja/javascr…
Codrin Pavel retweeted
"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
Codrin Pavel retweeted
My guilty pleasure is checking out fancy portfolio sites and then running the URL through PageSpeed Insights
Codrin Pavel retweeted
Just released! 2022 Trends in Corporate Reports. Download today, for FREE. #esgreporting #sustainability #corporatecommunications ideasonpurpose.com/on/2022-t…
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.👇 )
Codrin Pavel retweeted
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…























