CSS Property Value How to - outline: none;








Question

We would like to know how to outline: none;.

Answer


<!--from   w  w  w. ja  v  a2s .c  o  m-->
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
input {
  padding: 0;
  outline: none;
  border: 1px solid red;
}
</style>
</head>
<body>
  <input value="foo foo foo">
</body>
</html>

The code above is rendered as follows: