1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-12-22 10:08:54 +00:00

added some css properties

This commit is contained in:
Yogesh Ojha 2020-06-28 00:00:47 +05:30
parent 328b62fcb8
commit abc93ca13c

View File

@ -14,7 +14,7 @@ You can use Emmet in two ways:
__This cheatsheet will assume that you press `Tab` after each expressions.__ __This cheatsheet will assume that you press `Tab` after each expressions.__
## Basics ## HTML
### Generating HTML 5 DOCTYPE ### Generating HTML 5 DOCTYPE
`html:5` `html:5`
@ -215,3 +215,41 @@ To start the numbering from specific number, use this way
</ul> </ul>
</div> </div>
``` ```
## CSS
Emmet works surprisingly well with css as well.
* `f:l`
```css
float: left;
```
You can also use any options n/r/l
* `pos:a­`
```css
position: absolute;
```
Also use any options, pos:a/r/f
* `d:n/b­/f/­i/ib`
`d:ib`
```css
display: inline-block;
```
You can also use these shorthands
| Shorthand | Description |
| ----------- | ----------- |
| z | z-index |
| fz | font-size |
| fw | font-weight |
| maw | max-width |