I am trying to add a circle/dot using ::before
on an element.
•
•
However, I cannot seem to make it visible!
.line ::before{
content:'•';
}
and
.line ::before{
content:'•';
}
(Still not showing)
I am unable to get this to work even with plain text
I understand that the content property only accepts text, but nothing appears when I try:
.line ::before{
content:'xxx';
}
How can I make the dot using css ::before
display?
(Please note: the css rule is in the default style sheet on page load, so it should apply to any new element...)
What is the correct way to show this dot using ::before
?