skip to Main Content

Usage of pseudo classes inside the css itself?

.obj1a, .obj2b, .obj3c { border: 1px solid #c6ffc7; } .obj1a:hover:not(:focus), .obj2b:hover:not(:focus), .obj3c:hover:not(:focus) { border: 1px solid white; outline: 2px solid white; } .obj1a:focus, .obj2b:focus, .obj3c:focus { border-width: 3px; } The code above is what I'm currently using, and it works…

VIEW QUESTION
Back To Top
Search