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.
This commit is contained in:
committed by
The Coding Aviator
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 -->
|
||||
## 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
|
||||
transition: all 300ms;
|
||||
```
|
||||
|
Reference in New Issue
Block a user