创意图文
实例:
程序:
程序原码:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>创意图文</title>
<style>
.a{
width:700px;
height: 400px;
background-image:linear-gradient(90deg,#3d7ea5 50%,#ce4b4b 50%);
border-style: solid;
border-image: url("1.jpg") 22% 70/20 repeat;
padding: 30px;
}
.b{
width: 100%;
height: 100%;
background: url("zuqiu.png") no-repeat center center;
opacity: 0.5;
}
</style>
</head>
<body>
<div class="a">
<div class="b">
</div>
</div>
</body>
</html>