xxxxxxxxxx
# Check this link below reference property
https://pastebin.com/H09ajh8U
xxxxxxxxxx
#element {
width: 20%;
color: blue;
transition: width 3s, color 2s;
}
#element:hover {
width: 100%;
color: red;
}
xxxxxxxxxx
#element {
width: 80px;
height: 30px;
background-color: blue;
color: white;
transition: width 2s, background-color 1s;
transition-delay: 2s;
}
#element:active {
width: 200px;
background-color: red;
}