View Single Post
Old 06-09-2020, 09:08 PM   #8
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,849
Karma: 6120478
Join Date: Nov 2009
Device: many
According to some sources, if the content property is a url it should be wrapped in "url()".

See this example from https://www.w3schools.com/cssref/pr_gen_content.asp


Code:
<!DOCTYPE html>
<html>
<head>
<style>
p::before {
  content: url(w3css.gif);
}
</style>
</head>
<body>
​
<p>My name is Donald</p>
<p>I live in Ducksburg</p>
​
</body>
</html>
So if the "url()" wrapper is required for a url in a content property we should be able to restrict on that, right?
KevinH is offline   Reply With Quote