Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

box-shadow does not work

$
0
0

Replies: 0

hello, I am creating a theme 100% AMP compatible, I validate it with https://validator.ampproject.org/ and everything is ok. But as soon as I activate your AMP plugin, I don’t understand why, it deletes the css line

#ez-toc-container{width: 100%;max-width: 310px;margin: 2.1rem 0 2rem 0;box-shadow: 0 10px 30px 0 rgb(0 1 35 / 8%);background-color: #FFF}

leaving it like this:

#ez-toc-container{width: 100%;max-width: 310px;margin: 2.1rem 0 2rem 0;background-color: #FFF}

as I say I have validated before starting with the wordpress my html and css and everything is ok, box-shadow is compatible with AMP, but your plugin removes me the line when I look at the source code and leaves the rest of the css in this class…. Why?


Viewing all articles
Browse latest Browse all 59525

Trending Articles