Answers for "* hover"

CSS
21

css hover

.a:hover{background-color: black;}
Posted by: Guest on February-20-2020
0

hover

import { css, cx } from '@emotion/css'

const color = 'yellow'

render(
  <div
    className={css`
      padding: 32px;
      background-color: hotpink;
      font-size: 24px;
      border-radius: 4px;
      &:hover {
        color: ${color};
      }
    `}
  >
    Hover to change color.
  </div>
)
Posted by: Guest on February-18-2022

Browse Popular Code Answers by Language