Kweebac
Kweebac
Explore posts from servers
KPCKevin Powell - Community
Created by Kweebac on 8/17/2023 in #front-end
Where can I find free to use website designs?
I need some ideas for my portfolio. I'm finding things on dribbble I like but I'm not sure if I'm allowed to use it or not? (https://dribbble.com/shots/20300654-Portfolio-design)
6 replies
KPCKevin Powell - Community
Created by Kweebac on 8/4/2023 in #front-end
CSS transitions apply on page load
.box {
width: 100px;
height: 100px;
background-color: #0000ff;
transition: width 2s, height 2s, background-color 2s, rotate 2s;
}

.box:hover {
background-color: #ffcccc;
width: 200px;
height: 200px;
rotate: 180deg;
}
.box {
width: 100px;
height: 100px;
background-color: #0000ff;
transition: width 2s, height 2s, background-color 2s, rotate 2s;
}

.box:hover {
background-color: #ffcccc;
width: 200px;
height: 200px;
rotate: 180deg;
}
When I first load the page the transition happens as well, how do I stop this?
46 replies