I'm writing "jak jak jak"
It displays as:
jak jak
jak
This only occurs on mobile. Desktop displays the message normally.
I'm writing "jak jak jak"
It displays as:
jak jak
jak
This only occurs on mobile. Desktop displays the message normally.
www.amd.com/en/products/...
AMD, why?
Tagging @gamersnexus.bsky.social
www.amd.com/en/products/...
AMD, why?
Tagging @gamersnexus.bsky.social
Seemingly simple web app... yet doing it right to be accessible takes tons of work and testing.
Seemingly simple web app... yet doing it right to be accessible takes tons of work and testing.
Left: old, right: new.
Left: old, right: new.
You can see that it only happens to shapes with an odd number of sides. Even-numbered ones fill the entire height.
You can see that it only happens to shapes with an odd number of sides. Even-numbered ones fill the entire height.
A simple workaround: make a gradient with both ends at 100% opacity and then use a mask to fade one side.
The result is pixel-perfect identical to Figma's.
A simple workaround: make a gradient with both ends at 100% opacity and then use a mask to fade one side.
The result is pixel-perfect identical to Figma's.
```css
background: linear-gradient(90deg, #FF0000 0%, rgba(0, 0, 255, 0) 100%);
```
The result is totally different to how Figma renders it. Blue color at the 0% end is ignored, and the entire gradient has the same red hue.
```css
background: linear-gradient(90deg, #FF0000 0%, rgba(0, 0, 255, 0) 100%);
```
The result is totally different to how Figma renders it. Blue color at the 0% end is ignored, and the entire gradient has the same red hue.
Imagine you want to show a gradient from red (at 100% opacity) to blue (at 0% opacity). In Figma, the middle is purple at 50% opacity. But CSS completely ignores the 0% color!
Imagine you want to show a gradient from red (at 100% opacity) to blue (at 0% opacity). In Figma, the middle is purple at 50% opacity. But CSS completely ignores the 0% color!
It's free!
It's easy!
It actually works!
```python
print(not re.match(r'^.?$|^(..+?)\1+$', 'x'*n))
```
(Image from @standupmaths.bsky.social's video)
It's free!
It's easy!
It actually works!
```python
print(not re.match(r'^.?$|^(..+?)\1+$', 'x'*n))
```
(Image from @standupmaths.bsky.social's video)
When you use px for font-size, you override user's preference. Use rem and em instead.
Josh's article has more details: www.joshwcomeau.com/css/surprisi...
#accessibility #css
When you use px for font-size, you override user's preference. Use rem and em instead.
Josh's article has more details: www.joshwcomeau.com/css/surprisi...
#accessibility #css
In the last 10 years, over 80% of IGN's movie reviews were in the 5-10 range. As a result, it's not really clear if their 7 is actually a positive recommendation, or if the movie is just meh.
In the last 10 years, over 80% of IGN's movie reviews were in the 5-10 range. As a result, it's not really clear if their 7 is actually a positive recommendation, or if the movie is just meh.
Would you agree with this? Do you think the modern scores are inflated, and we collectively forgot how to use the full scale?
#design
Would you agree with this? Do you think the modern scores are inflated, and we collectively forgot how to use the full scale?
#design
#steamdeck #odin2
#steamdeck #odin2
A memorable puzzle involved a metal door: you had to heat and freeze it simultaneously, exploiting thermal stress to shatter it from the inside! Mind-blowing for a kid.
A memorable puzzle involved a metal door: you had to heat and freeze it simultaneously, exploiting thermal stress to shatter it from the inside! Mind-blowing for a kid.