发布网友 发布时间:2022-04-23 10:44
共2个回答
热心网友 时间:2022-04-19 06:32
<!DOCTYPE HTML>
<html>
<meta charset="UTF-8"/>
<head>
<title></title>
</head>
<style type="text/css">
html,body {
border: 1px solid #000000;
box-sizing: border-box;
width: 100%;
height: 360px;
margin:0;
padding:0;
position: relative;
}
.demo{
height: 150px;
width: 500px;
overflow: auto;
margin: auto;
position: absolute;
top: 0; left: 0; bottom: 0; right: 0;
background: rgba(255,100,255,0.2);
border: 5px solid #ff88ff;
font-size: 40px;
font-family: "微软雅黑";
text-align: center;
line-height: 150px;
word-spacing: 20px;
border-radius: 20px;
box-shadow: 20px 10px 10px rgba(100,100,100,0.5);
}
</style>
<body>
<div class="demo">
</div>
</body>
</html>
热心网友 时间:2022-04-19 07:50
MYHTML。。。css代码.js代码。。。