M
M
Mirrrta2020-05-14 13:33:26
css
Mirrrta, 2020-05-14 13:33:26

How to make a background on an image?

Do you need to hover over the image so that the background with the texts "update" pops up from the bottom?
What is the best way to do this? Separate div?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dima, 2020-05-14
@Mirrta

if the site is monolingual, then you can use :after in content: "update"
if it is multilingual, then you can transfer this style to html and insert a translation variable. but better as a separate diva)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question