Gautam Sarkar• 790
@gautam3333
Posted
Hi there 👋
Great job! If you hover over the Learn more
button you will notice the page jumps. Here is how you can fix it.
.btn-1 {
padding: 0.8em 1.38em;
border: transparent;
background-color: var(--color-2);
/* transition: border 300ms, color 300ms, background-color 300ms; */
/* cursor: pointer; */
transition: all 0.3s ease;
}
.btn-1:hover {
cursor: pointer;
background-color: transparent;
/* border: solid 1px var(--color-2); */
outline: 1px solid var(--color-2);
color: var(--color-2);
}
Hope you find this helpful.
Marked as helpful
0
P
bluepersia• 1,035
@bluepersia
Posted
@gautam3333
Thank you!
0