draganeror
KPCKevin Powell - Community
•Created by b3hold on 11/20/2024 in #front-end
creating svg photo with a element
I see, he wants to combine HTML and SVG, inline with the text
19 replies
KPCKevin Powell - Community
•Created by b3hold on 11/20/2024 in #front-end
creating svg photo with a element
Use Figma, arange images in a workspace, convert text to curves and export whole image as SVG
19 replies
KPCKevin Powell - Community
•Created by Å Marlon G on 5/30/2024 in #front-end
Chrome vs. Firefox 😳
The thing you want to achieve, usually is done by a <div> element (<figure>, <main>, etc). You make it correct size, then set image as a background, and use background-size: cover;
Then, you can place text elements inside and position them.
6 replies
KPCKevin Powell - Community
•Created by Å Marlon G on 5/30/2024 in #front-end
Chrome vs. Firefox 😳
Why would you put text inside the <picture> element?
You're using it wrong!
<picture> element is there to give you more flexibility over the resources (read: different image size, format, etc.)
https://www.w3schools.com/tags/tag_picture.asp
What you need is <figure> and <caption> tags https://www.w3schools.com/tags/tag_figure.asp
6 replies