@correlucas
Posted
Hello Manuel, congratulations for your solution!
I didn't get your question, I saw your solution and the picture is working normally. I don't think you'll have problems using this tag at this point almost all browsers fully supports the element. You'll problems only with outdated browsers, but I think this will happen only in minor cases.
You can check the <picture> compatibility here: https://www.w3schools.com/tags/tag_picture.asp
About your solution, there's only one aspect I think you can think about fixing, using max-width
instead of width
, if you check your solution, after the page become mobile, when it reach width 300px the card has the width fixed and doesn't behave as flexible box.
I hope it helps you bro, keep it up!
Marked as helpful
@MalexLucero
Posted
@correlucas Very helpful. Thanks for the suggesting Lucas!