---
title: "Comment by Ali Reza on \"Windows 10 Setting Hover Effect: A Step By Step Tutorial\" | Hashnode"
description: "Thanks Ali, Q, Is there any way which we can transition duration for .box::before?"
url: "https://hashnode.com/posts/windows-10-setting-hover-effect-a-step-by-step-tutorial/644e6542d52418fec1855a6f/comment/6450738d0190c9c71e91cd25"
---

[Discussion](https://hashnode.com/posts/windows-10-setting-hover-effect-a-step-by-step-tutorial/644e6542d52418fec1855a6f)

Comment [Windows 10 Setting Hover Effect: A Step By Step Tutorial](https://hashnode.com/posts/windows-10-setting-hover-effect-a-step-by-step-tutorial/644e6542d52418fec1855a6f)

[Ali Reza](https://hashnode.com/@AliReza83)

[May 2, 2023](https://hashnode.com/posts/windows-10-setting-hover-effect-a-step-by-step-tutorial/644e6542d52418fec1855a6f/comment/6450738d0190c9c71e91cd25)

Thanks Ali,

Q, Is there any way which we can transition duration for .box::before?

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1682994002325/027d9f81-b45a-42e7-88a4-4328dfa1632f.png)

[Ali Calimli](https://hashnode.com/@alicalimli)

[May 2, 2023](https://hashnode.com/posts/windows-10-setting-hover-effect-a-step-by-step-tutorial/644e6542d52418fec1855a6f/comment/6450738d0190c9c71e91cd25#reply-6450aeba7a00e1d8014fb879)

Yes bro, you can modify the code to be like this so you can do transitions: ![carbon (18).png](https://cdn.hashnode.com/res/hashnode/image/upload/v1683009265707/376cd78e-5e82-4a6a-a512-49757efec46b.png)
