google / google/fonts

css2 not valid with ampjs

Open
#2,413 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
20.5k
Forks
2.9k
Avg merge
1d 21h
Merged PRs (30d)
95

Description

Got this error
```External stylesheets not supported, except for whitelisted font providers. Use the document inline 'style amp-custom' tag instead.```

i copied paste from the google fonts website
``````

but when i change it back to css instead of css2, amp validates it
``````

not sure if its amp problem or css2 did something to upset amp validators

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.