- 2
How to create a block with pictures and text write tags (code) I will be very grateful!?
creating a block in css
3 Réponses
+ 2
https://css-tricks.com/almanac/properties/c/content
html
<ul aria-label="To Do List">
<li>Make Bed</li>
<li data-alt-pseudo="Completed">Grocery Shop</li>
<li>Sweep Driveway</li>
</ul>
css
[data-alt-pseudo="Completed"]::before {
content: "✅"; /* fallback */
content: "✅" / attr(data-alt-pseudo);
}
+ 1
CSS content Property
https://www.w3schools.com/cssref/pr_gen_content.asp
CSS background-size Property
https://www.w3schools.com/cssref/tryit.asp?filename=trycss3_background-size5
+ 1
These links might help you to solve your problem.