[ACCEPTED]-How can I escape single or double quotation marks in CSS?-quotes
Accepted answer
Use a backslash.
content:"i said don\"t Touch me";
Same goes for single quotes 1 within single-quoted strings.
Just use a \
to escape the "
#notworking:hover:after{
content:"i said don\"t Touch me";
color: #C30;
}
Demo @ http://jsfiddle.net/NaEPq/4/
0
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.