How To Add Custom Css And Script In Amp Pages
50,000
byte size limit too.For example:
<styleamp-custom>h1 {
color: red
}
</style>
As for the script, you're not able to include authored JavaScript in AMP documents. You'll need to look for an equivalent AMP component.
Solution 2:
it's working for me, try this
<styleamp-custom>@import url('css/main.css');
</style>
Post a Comment for "How To Add Custom Css And Script In Amp Pages"