加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
5.html 1.51 KB
一键复制 编辑 原始数据 按行查看 历史
陈志航 提交于 2019-12-10 19:26 . 更新
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<link rel="stylesheet" href="./css/5.css">
<link rel="stylesheet" href="./css/index.css">
</head>
<body>
<div class="out-div-class">
<div class="in-div-border">
<!-- 第一行的圆 -->
<div class="in-div-line"></div>
<!-- 下面的四行字 -->
<div class="word1"><span>green</span></div>
<div class="word2"><span>Hex Triplet #00FF00</span></div>
<div class="word3"><span>Wavelength :495-570rem</span></div>
<div class="word4"><span>DO SOMETHING GREEN!</span></div>
<div class="word4" id="firstWord"><span>EAT GREEN APPLE</span></div>
<div class="word4"><span>+</span></div>
<div class="word4" id="secondWord"><span>LISTEN TO SPOTIFY</span></div>
<div class="bottom-word" style="cursor: pointer;"><span onclick="backHome()">back to select again</span></div>
</div>
</div>
<script>
let array = [{one:"EAT GREEN APPLE",two:"LISTEN TO SPOTIFY"},{one:"EAT AVOCADO",two:"WATCH GREEN LANTERN"},{one:"EAT KIWI",two:"PLANT A TREE AT FOREST-STAY FOCUSED"},{one:"EAT LIMES",two:"WECHAT YOUR FRIENDS"},{one:"DOWNLOAD LINE",two:"EAT ARTICHOKES"}]
</script>
<script src="./js/index.js">
</script>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化