DEV Community

Discussion on: Improving CSS performance and file size - an in-depth guide

Collapse
 
bayuangora profile image
Bayu Angora

I have this code ->

.entry {
background: #fff;
transition: transform 0.5s ease, background 0.5s ease;
}
.entry:hover {
transform: scale(1.02);
}
.darkmode .entry {
background: #444;
}

Is that efficient?