MarkBoots
KPCKevin Powell - Community
•Created by MarkBoots on 11/1/2024 in #front-end
Set Child count + index of child with custom properties
Would like your opinions,
Because i like to play with the styling of an element based on it's index within a parent (and to be able to calculate with it) , normally i would setup custom properties manually with the nth-child selector or as inline style within the html element.
Unfortunately CSS is not able (yet) to do it on it's own.
I was thinking of doing it programmatically (JS) on page load and with an observer to keep it up to date.
What do you think of this approach?
example: https://codepen.io/MarkBoots/pen/MWNXaNm
1 replies
KPCKevin Powell - Community
•Created by MarkBoots on 6/16/2024 in #front-end
[brain-breaker] mask-shorthand. Firefox does not like it
16 replies
KPCKevin Powell - Community
•Created by MarkBoots on 10/20/2022 in #resources
Layout Breakouts with CSS Grid
1 replies
KPCKevin Powell - Community
•Created by MarkBoots on 10/18/2022 in #front-end
CSS Battle 19 - Curtain
17 replies
KPCKevin Powell - Community
•Created by MarkBoots on 9/22/2022 in #resources
Royalty free images and videos
Here a list of websites that I gathered over the years
https://unsplash.com/
https://pexels.com/
https://picsum.photos/
https://realisticshots.com/
https://pixabay.com/nl/
https://freepik.com/
https://www.lifeofpix.com/
https://gratisography.com/
https://freenaturestock.com/
https://magdeleine.co/license/cc0/
https://snapwiresnaps.tumblr.com/
https://stocksnap.io/
https://kaboompics.com/
https://publicdomainarchive.com/
https://travelcoffeebook.com/
https://isorepublic.com/
https://www.foodiesfeed.com/
https://furiouscamera.com/
https://focastock.com/
https://jaymantri.com/
https://cupcake.nilssonlee.se/
https://startupstockphotos.com
https://www.vecteezy.com/free-photos
Feel free to add (or let me know if resources changed / became unavailable)
2 replies