google / google/material-design-lite
Give more specific instructions on "Cards" section
- Dominant language
- HTML
- Stars
- 32.2k
- Forks
- 4.9k
- PR merge metrics
- No merged PRs in 30d
Description
I have been testing out the cards code, and I noticed that that specific page lacks instructions.
https://getmdl.io/components/index.html#cards-section
As a webdesigner I can automatically infer that I would not need the embedded style code if I already have all of my style sheets implemented and I am ready to use all of the classes. Some people might be brand new to webdesign and using mdl so they might not fully understand everything. So if they have already set up their style sheets and then they use the embedded style code it will make the card not work properly.
People also like having the easy way so the option of them being able to fully copy the entire code and only to base it off of the image they have seen could run them into problems. Especially if they did not know that the style tag section goes inside the head tag because it does not show that at all. Then if that person decides to use multiple cards then there will be multiple style tags most likely inside the body tag which is not recommended.
I just wanted to bring this up, just in case someone who is newer to web design might not make such a mistake.
Contributor guide
Assessment
This issue has not been assessed yet.