黑松山资源网 Design By www.paidiu.com
盒子border的三要素:宽,形状,颜色。

复制代码代码如下:
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>border边框</title>
<style>
#mydiv{
height:200px;
width:100px;
background:black;
border:10px solid yellow;
}
</style>
</head>
<body>
<div id="mydiv">border的三要素:宽 形状 颜色</div>
</body>
</html>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>border边框</title>
<style>
#mydiv{
height:0px;
width:0px;
border-top: 50px solid white;
border-right: 50px solid white;
border-left: 50px solid white;
border-bottom: 50px solid blue;
border-
}
</style>
</head>
<body>
<div id="mydiv"></div>
</body>
</html>

盒子边框border的三要素:宽/形状/颜色
黑松山资源网 Design By www.paidiu.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
黑松山资源网 Design By www.paidiu.com