
Front-end Developer. 👾 Media engineer. ⚡ Facing life one bug at a time. 🔥 Easily bribed with chocolate. 🍫 she/her - #BLM
Val di Susa, Italy
Joined July 2017
- Tweets3.3K
- Following2.6K
- Followers307
- Likes23.4K
Giulia Chiola retweeted
I wanted to share something I built over the last few weeks: isometric.nyc is a massive isometric pixel art map of NYC, built with nano banana and coding agents.
I didn't write a single line of code.
Giulia Chiola retweeted
Amazon confirms you’re not making purchases based on resolutions you have no intention of keeping
How to Make 2024 The Best Year of Your Life youtu.be/c_DOG_mXz5w
101
Giulia Chiola retweeted
Look at the consistency of corner radius across different apple products - that's the level of design tokenisation I dream of in design systems🔥
Finally December! ❄️ let’s start this delicious advent calendar with an herbal tea per day ❤️ thank you sis.
Giulia Chiola retweeted
CSS Tip! ⭐️
You can use mix-blend-mode with scoped custom properties to create this inverted :hover effect 🤙
button > span {
left: calc(var(--x, 0) * 1px);
top: calc(var(--y, 0) * 1px);
mix-blend-mode: difference; 👈
}
The cool trick is that using mix-blend-mode acts like a color inverter which works well with monochromatic controls 😍 Saves defining the :hover colors, etc. It works it out for you!
As for how to move that spot around? A teeny bit of JavaScript 🤏
const UPDATE = ({target, x, y }) => {
const bounds = target.getBoundingClientRect()
target.style.setProperty('--x', x - bounds.left)
target.style.setProperty('--y', y - bounds.top)
}
const BTNS = document.querySelectorAll('button')
BTNS.forEach(BTN => BTN.addEventListener('pointermove', UPDATE))
On :hover you can use a scoped custom property to change the size of the spot
button:is(:hover, :focus-visible) {
--active: 1;
}
button span {
transform: translate(-50%, -50%) scale(calc(var(--active, 0) * 3);
transition: transform 0.25s;
}
But, what about the bouncy easy? You can use linear() where supported to create a bouncy transition ✨
@supports (transition-timing-function: linear(0, 1)) {
button:is(:hover, :focus-visible) span {
transition-duration: 0.5s;
transition-timing-function: linear(
0, 0.5007 7.21%, 0.7803 12.29%,
...
);
}
}
That's it! Thanks for the challenge @alemalohe 🤙
@CodePen link below! 👇
Giulia Chiola retweeted
CSS Trick! 🤙
What's powering this button effect? One property ⭐️
You can create the effect by placing a button over your content and using mix-blend-mode 🫶
button {
mix-blend-mode: difference; 👈
position: fixed;
}
It's a really easy one to play around with and you can get some pretty interesting results. It certainly adds some visual interest.
But, be careful with what images you use and try to make sure your text is still readable 🙏
@CodePen link below! 👇
Giulia Chiola retweeted
Underrated: @PrettierCode.
Specifically the "prettier-plugin-organize-import" plugin.
Being able to automatically sort and combine duplicate imports is such a superpower for developer productivity.
Giulia Chiola retweeted
Node.js finally has support for loading .env files! You'll no longer need the dotenv package
Dropped in 20.6.0
Also supports passing runtime flags like --inspect and --watch
Giulia Chiola retweeted
The story of how I burned out working for a big company:
1. They changed my priorities often
2. Didn't give me control over my work
3. Only certain teams were held to high standards
4. No celebrations for milestones achieved
To prevent this from happening....remember.....
Employees need CARE:
- Control
- Alignment
- Rewards
- Equality




























