HTML+CSS热词设计

HTML+CSS的热词设计效果

代码:

点击查看代码
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    a {
      display: block;
      width: 200px;
      height: 80px;
      background-color: #3064bb;
      text-align: center;
      text-decoration: none;
      color: aliceblue;
      line-height: 80px;
      font-size: 18px;
    }

    a:hover {
      background-color: #608dd9;
    }
  </style>
</head>

<body>
  <a href="#">HTML</a>
  <a href="#">CSS</a>
  <a href="#">JAVASCRIPT</a>
  <a href="#">VUE</a>
  <a href="#">REACT</a>
</body>

</html>
posted @   xjZhang  阅读(25)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示