Search code examples
htmlcssbuttonborder

How to remove the button border in css? border:none is not working


Can anyone help me I can't remove button border. border:none; is not working

button {
  font-size: 16px;
  text-transform: uppercase;
  background-color: white
  border: none;
}

button:hover {
  color: white;
  background-color: black;
}
   


Solution

  • you are missing ; in the line before.