请用HTML帮我编写一个小杰工具箱首页的UI
以下是一个简单的小杰工具箱首页的UI的HTML代码:
<!DOCTYPE html>
<html>
<head>
<title>小杰工具箱</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f2f2f2;
}
#header {
background-color: #333;
color: #fff;
padding: 20px;
text-align: center;
}
#toolbox {
margin: 20px auto;
width: 80%;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.tool {
background-color: #fff;
border: 1px solid #ccc;
border-radius: 5px;
padding: 20px;
width: 30%;
margin-bottom: 20px;
}
.tool h3 {
font-size: 18px;
margin-bottom: 10px;
}
.tool p {
font-size: 14px;
color: #666;
}
</style>
</head>
<body>
<div id="header">
<h1>小杰工具箱</h1>
<p>方便快捷的工具集合</p>
</div>
<div id="toolbox">
<div class="tool">
<h3>计算器</h3>
<p>一个简单的在线计算器</p>
<a href="calculator.html">使用</a>
</div>
<div class="tool">
<h3>时钟</h3>
<p>显示当前的时间</p>
<a href="clock.html">使用</a>
</div>
<div class="tool">
<h3>日历</h3>
<p>查看日历和日期</p>
<a href="calendar.html">使用</a>
</div>
<!-- 添加更多工具 -->
</div>
</body>
</html>
在这个例子中,我们使用了简单的HTML和CSS来创建一个小杰工具箱首页的UI。页面包括一个顶部的标题和描述,以及一个工具箱部分,展示了几个工具的名称、描述和使用链接。你可以根据自己的需要添加更多的工具,并为每个工具定义自己的名称、描述和链接
原文地址: http://www.cveoy.top/t/topic/iGJV 著作权归作者所有。请勿转载和采集!