I want to put html element as generated content. for example if i want to put horizontal line before list item
This doesn’t works. it just print ‘<hr/>’ as text
li:before{
content : '<hr/>'
}
Is there any way to do it
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.
No, I don’t think it’s possible to do it with css.
One solution might be to use a
border-topon yourliinstead.e.g.
Look at this site for some good examples of what can be done: http://css-tricks.com/css-content/