Sinc02
KPCKevin Powell - Community
•Created by Sinc02 on 1/15/2024 in #front-end
Union of literal types from an array of strings
I can't seem to find anything about it
6 replies
KPCKevin Powell - Community
•Created by Sinc02 on 1/15/2024 in #front-end
Union of literal types from an array of strings
It's just that I want
Fruits
to not be just a single item from the array (by specifying it) but instead it'll be the literal union of every value/item within the array6 replies
KPCKevin Powell - Community
•Created by Sinc02 on 1/15/2024 in #front-end
Union of literal types from an array of strings
Yes this is the one that I found which is close
6 replies
KPCKevin Powell - Community
•Created by M. on 10/3/2022 in #front-end
Decorative image that adapts to the screen size?
Adjust the width according to your need but make sure to have
height: auto
. That will not "ruin" the image28 replies
KPCKevin Powell - Community
•Created by M. on 10/3/2022 in #front-end
Decorative image that adapts to the screen size?
Welp somebody else also got it. Here's my attempt tho
https://codepen.io/Sinc02/pen/qBYKdXJ
But overall same idea.
position: absolute
is one way to go28 replies
KPCKevin Powell - Community
•Created by M. on 10/3/2022 in #front-end
Decorative image that adapts to the screen size?
I'll play around with the pen
28 replies
KPCKevin Powell - Community
•Created by M. on 10/3/2022 in #front-end
Decorative image that adapts to the screen size?
I think you were right. I'm also thinking about
position: absolute
. The problem now is to position it correctly28 replies