cursor: pointer inside or outside :hover
14:14 19 Jul 2017

I have the following 2 css selectors:

.foo {
  cursor: pointer;
}

.foo:hover {
  cursor:pointer;
}

They both have the same functionality (I guess), but are there any performance differences between them? Which one is more "elegant" to use?

css