Answer the question
In order to leave comments, you need to log in
How to make a slash in price?
I'm making up my first template in my life. Stuck with the layout of the price
Let's say I make a slash through :after and rotate, but how do I scatter the text in different corners? I ask you to suggest the principle itself, it is not necessary to write code) Thank you.
Answer the question
In order to leave comments, you need to log in
I also did not understand the essence of the question, well, you need to get something? Get it, who's stopping you?
What's the problem?
Basically, what's going on.....
take div - relative. in it you spend a slash through after;
put 2 spans into this div - position: absolute;
one of which is top: 0; left: 0;
second - right: 0; bottom: 0;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question