Can't use css property content: "" in page CSS (quotes seem to be escaped)

Hi,

I am attempting to add custom CSS to a page consisting of :before & :after pseudo elements in BeBuilder. It appears that something is attempting to escape or sanitize my quotes (") or single quotes (') on the content property. Since the content value must be set to a value, this is causing the web browser to be unable to render :before and :after pseudo elements.

Below is an example of what I mean:

.example:before {

content: "";

color: red;

}


BeBuilder's output to browser:

.example:before {

content: ' '

color: red;

}

The above output is causing the CSS to be invalid.

How can we fix this?

Thanks!

Comments

Sign In or Register to comment.