mirror of
https://github.com/google/material-design-lite.git
synced 2024-09-20 00:32:08 +03:00
Implementing comments on the pull request
There are no code samples any more and the note is expressed as a quote, much like it's already done in the badge documentation.
This commit is contained in:
parent
823919d446
commit
da36d6e82b
@ -14,13 +14,7 @@ Use of MDL layout principles simplifies the creation of scalable pages by provid
|
||||
</div>
|
||||
```
|
||||
|
||||
Notably, the layout cannot be applied directly on the `<body>` element. Always create a nested `<div>` element.
|
||||
```html
|
||||
<body>
|
||||
<div>
|
||||
</div>
|
||||
</body>
|
||||
```
|
||||
>**Note:** The layout cannot be applied directly on the `<body>` element. Always create a nested `<div>` element.
|
||||
|
||||
2. Add MDL classes as indicated, separated by spaces, to the div using the `class` attribute.
|
||||
```html
|
||||
|
Loading…
Reference in New Issue
Block a user