0

I simply would like to know if it is possible to delay the change of position of vbtn01 in the following code

@media only screen and (orientation:portrait){
 #vimg01:hover{#vbtn01{position:relative; top:-940px;} }
}

Thank you in advance

asked May 6, 2025 at 11:07
1

1 Answer 1

-1
@media only screen and (orientation:portrait) {
#vbtn01 {
 position: relative;
 top: 0;
 transition: top 0.5s ease 0.5s;
}
#vimg01:hover+#vbtn01 {
 top: -940px;
}

}

answered May 6, 2025 at 11:20
Sign up to request clarification or add additional context in comments.

1 Comment

Although this code might answer the question, I recommend that you also provide an explanation what your code does and how it solves the problem of the question. Answers with an explanation are usually more helpful and of better quality, and are more likely to attract upvotes.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.