@manav-sharma69
Posted
No, hover is not possible for devices which don't have a cursor.
If you use :active
state then the box shadow will change as long as the user is somehow tapping the blog component. In other words, as long as user's finger is on the blog component, the box shadow will be different.
When the blog component is not "touched", the pseudo class's styles don't apply.
It creates a hover like effect (if that's what you were looking for). Also, take a look at touch
events.
Link for more context: CSS3 hover/tap doesn't work in mobile browsers
Hope this helps ☺️
Marked as helpful
@kavallir
Posted
@manav-sharma69 I will take a look, thank you!