Link

In this example below you will see how to do a Link with some HTML / CSS and Javascript

Thumbnail
This awesome code was written by VUKHOA25, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright VUKHOA25 ©
  • HTML
  • CSS
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>Link</title>
  
  
  
      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>

  <a href="http://maytinhvn.net/" target="-blank" title="Xem trang về IT">Ghé thăm</a>
  
  

</body>

</html>

/*Downloaded from https://www.codeseek.co/VUKHOA25/link-jAXKgJ */
/*div {
  width:75%;
  height:7em;
  margin: 2em auto;
  outline: 1em ridge blue;
}*/
* {
  margin:0; padding: 0; border: none;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
a:link, a:visited {
  color: white;
  background-color: #f44336;
  text-decoration: none;
  text-align:center;
  padding: 10px 20px;
  margin: 1em;
  display: inline-block;
}
a:hover, a:active {
  background-color: lime;
  color: #f44336;
  padding: 2em 3em;
}

Comments