Explained 300ms value as milliseconds (#26951)
Just wanted to help clarify to learners that the 300ms stands for 300 milliseconds. So that they understand the measurement of time being used.pull/31095/head^2
parent
1282227c24
commit
5d30b8777e
|
@ -4,7 +4,7 @@ title: Transition
|
||||||
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds -->
|
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds -->
|
||||||
## Transition
|
## Transition
|
||||||
|
|
||||||
The `transition` property allows you to change property values smoothly (from one value to another), over a given duration.
|
The `transition` property allows you to change property values smoothly (from one value to another), over a given duration. For example the code below sets the transistion time to 300 milliseconds.
|
||||||
```css
|
```css
|
||||||
transition: all 300ms;
|
transition: all 300ms;
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue