- 0 Posts
- 24 Comments
pinchy@lemmy.worldto
Europe@feddit.org•Elon Musk said the EU "should be abolished" after his social network X was finedEnglish
35·2 months agoHim backing far-right anti-EU parties for ages is probably coincidental.
pinchy@lemmy.worldto
CSS@programming.dev•How to append a value to a property that takes multiple values?
01·3 months agodeleted by creator
pinchy@lemmy.worldto
CSS@programming.dev•How to append a value to a property that takes multiple values?
2·3 months agoThere is no such proposal I’m aware of. @function will enable a finite combination in a more convenient way and maybe the ident() function can help building comma separated values in new ways. In general using classes for this is tricky though because the position of each value in the list matters (if you want something like layer-1 = gradient-blue, layer-2 = gradient-red, …). Each class would need to represent a tuple (index, image) so you would need every permutation ( layer-1-gradient-blue, layer-2-gradient-blue, …)
pinchy@lemmy.worldto
CSS@programming.dev•How to append a value to a property that takes multiple values?
2·3 months agoYou can compose layering backgrounds in the way you described by using using custom properties:
@property --gradient-1 { syntax: "<image> | none"; inherits: false; initial-value: none; } @property --gradient-2 { syntax: "<image> | none"; inherits: false; initial-value: none; } .gradient-1, .gradient-2 { background-image: var(--gradient-2), var(--gradient-1); } .gradient-1 { --gradient-1: linear-gradient(60deg, red 0%, orange 50%, red 100%); } .gradient-2 { --gradient-2: radial-gradient(at center, blue 10%, teal 50%, transparent 50%); }Using the @property syntax with ’inherits: false‘ prevents that the parents value for this property get inherited, so that arbitrary nesting is possible.
pinchy@lemmy.worldto
Technology@lemmy.world•Microsoft Word documents will be saved to the cloud automatically on Windows going forwardEnglish
8·6 months agoIt’s way better than a web app! it ships with a separate browser the user has zero control over and with more permissions to abuse. /s
pinchy@lemmy.worldto
Technology@lemmy.world•Microsoft Word documents will be saved to the cloud automatically on Windows going forwardEnglish
32·6 months agoAt this point that’s almost like ransomware.
Yep, the Venn diagram for this would certainly be gloomy. Would also have a decent overlap with the “longing for a zombie apocalypse in which I would totally be the leader everyone obeys”-folks.
Psychologically accurate lion meme: “As a narcissistic wacko I yearn for a strictly hierarchical system, and I deserve to be at the top of it”
pinchy@lemmy.worldto
196@lemmy.blahaj.zone•post your funniest saved meme / media ruleEnglish
10·7 months ago
“The Island of the Day Before” vibes
There is also Zulip
It‘s used in Facebooks css. Remembered it from a nice article from Ahmad Shadeed. And while this limbo sure has some usefulness, it‘s way too obscure to use for the fun of it.
To add to this: CSS really has come a long way. This border-radius example can be done with Container Queries by now, which has quite good support already.
pinchy@lemmy.worldto
Enough Musk Spam@lemmy.world•Elon Musk backs AfD party in German newspaper opinion piece
3·1 year agoI‘m wondering a bit to see so few mentions of the AfDs anti-EU stance in this context. Since a lot of EU legislations pose a considerable threat to the tech-oligopolies, a push for deregulation sure can be inferred as financially motivated.
pinchy@lemmy.worldto
Ask Lemmy@lemmy.world•What successful or popular movie that many loved you just HATE?
3·1 year agoInto the Wild. So much potential in this story and general theme, but cinematically so overloaded with pathos and clichés. Overly scattered storytelling, restlessly leaping through space and time leaving no pause to connect with nature. The film has its strengths but a lot of people I know mentioned it as one of their favorites and couldn’t accept that I found it rather mediocre. (Didn’t hate it though. So sorry for being off-topic)
pinchy@lemmy.worldto
WebDev@lemmy.world•Should the Header and Footer be in a separate file than the APP?English
3·1 year agoSplit the file if it feels like to much code to read comfortably. Most often I have a Layout component in a single file that receives its contents as children. Header and Footer are most often their own file in my case but if they are just a few lines of code I leave them in the Layout.





Du bist drin für eine gute Zeit: regexcrossword.com