相思资源网 Design By www.200059.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>
复制代码代码如下:
<%@ 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.200059.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
相思资源网 Design By www.200059.com
暂无盒子边框border的三要素:宽/形状/颜色的评论...