1
1
mirror of https://github.com/primer/css.git synced 2024-11-11 15:16:03 +03:00

use the github avatar instead of ellipses

This commit is contained in:
Shawn Allen 2019-01-09 23:14:22 -08:00
parent 312717f82a
commit 77565993c6

View File

@ -44,11 +44,11 @@ Whenever possible, avoid superfluous parent elements when writing HTML. Many tim
```html
<!-- Not so great -->
<span class="avatar">
<img src="...">
<img src="https://github.com/github.png">
</span>
<!-- Better -->
<img class="avatar" src="...">
<img class="avatar" src="https://github.com/github.png">
```
## Forms