手順

  1. aタグを書く。
  2. cssで横幅320px、高さが60pxのボタンを作る。(ボタンの色等は任意)
  3. マウスオーバーしたときに、不透明度を下げる。

回答例

https://www.youtube.com/embed/KygI0cu_QRs?si=uV8XDw2Db7ahJI80

作成したコード

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="css/style.css">
</head>

<body>
    <a href="#">ボタン</a>
</body>

</html>
a {
    background-color: aquamarine;
    display: block;
    width: 320px;
    line-height: 60px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}

a:hover {
    opacity: 0.5;
}