How can I make an oblique line on a text by using HTML5 and CSS3?
PS: I suppose that the use of <canvas> is a possible way to get the solution.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can do it using CSS and positioning divs on top of each other and then rotating one of them.
http://jsfiddle.net/jonbrownm/QvDwj/
There is also the * {text-decoration: line-through;} declaration but that won’t be oblique.
The solution really needs to be in HTML but I’m not sure of a method of doing this without CSS.