1 Star 0 Fork 0

白龙马 / HTML-CSS-JS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
8CSS盒子模型.html 914 Bytes
一键复制 编辑 原始数据 按行查看 历史
白龙马 提交于 2024-02-23 08:28 . 第一次上传gitee十四
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>8 CSS 盒子模型</title>
<style>
.demo {
background-color: aqua;
display: inline-block;
border: 5px solid yellowgreen;
padding: 50px;
margin: 40px;
}
.border-demo {
background-color: yellow;
width: 300px;
height: 100px;
border-style: solid dashed dotted double;
border-width: 20px;
border-color: blueviolet;
margin: 15px;
padding: 17px;
}
</style>
</head>
<body>
<h1>8 CSS 盒子模型</h1>
<div class="demo">盒子模型示例</div>
<div class="border-demo">这是一个边框的示例</div>
</body>
</html>
HTML
1
https://gitee.com/blma/html-css-js.git
git@gitee.com:blma/html-css-js.git
blma
html-css-js
HTML-CSS-JS
master

搜索帮助