mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
Updated CSSStyleGuide (markdown)
parent
bf441acb1e
commit
d631c773b5
@ -209,3 +209,12 @@ Wrong:
|
||||
button.foo.bar {
|
||||
...
|
||||
}
|
||||
```
|
||||
|
||||
## Images
|
||||
|
||||
Add height and width attributes to images in the html markup to help minimize layout shift during page load.
|
||||
|
||||
```
|
||||
<img src="url/to/image.png" height="240" width="160">
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user