So i was experimenting with AMP and i noticed that
<div style="font-size:xx-small;color:white;"></div>
is accepted as regular AMP. (tested with Google AMP tester)
Now i thought that only amp-custom styling is valid on AMP.
Should i leave div styling or is something strange that AMP tester is not detecting and will make my AMP template invalid latter.
PS. I know that this kind of styling is not appropriate and is better to style by css but just wandering as a rule in principle. Thnx
First result on Google:
Styles may live in the head of the document or as inline style attributes...
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.