Posts o[css] transition all
Post
Cancel

o[css] transition all

ref - https://css-tricks.com/almanac/properties/t/transition/

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<style>
.testArea {
	height: 120px;
	float: left;
	padding: 10px 10px 0 10px;
	background: #ebebeb;
	margin-right: 20px;
	position: relative;
	transition: all .2s;
	margin-top: 10px;
}

.testArea:hover {
	cursor: pointer;
	background: #c4c3c3 !important;
}
</style>

<div class="testArea">
</div>

origin - http://www.pipiscrew.com/?p=5105 css-transition-all

This post is licensed under CC BY 4.0 by the author.
Contents

Trending Tags