加下面的code应该有背景显示
<div id="articleBody" style="font-size:16px">
<div id="msgbodyContent"> </div>
</div>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@500&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Londrina+Solid:wght@100;300;400;900&display=swap" rel="stylesheet" />
<style type="text/css">:root{
--fc1: #f20;
--fc2: #ff0;
--fc3: #04f;
--fc4: #0f4;
--fc5: #f0f;
--fc: var(--fc1);
}
* {
margin: 0 auto;
padding: 0;
box-sizing: border-box;
}
table{ background-color:transparent; margin-left: 0px !important; } td { background-color:transparent; }
body:before {
z-index: -2;
opacity: 1.0;
position: fixed;
content: "";
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url("https://cdn.wenxuecity.com/upload/album/03/95/35/ac62fa7f4019BpQDgTkf.jpg") center no-repeat;
background-size: cover;
-webkit-filter: blur(0px);
filter: blur(0px);
-webkit-transform: scale(1.0);
transform: scale(1.0);
}
.container {
max-width: 42em;
margin: auto;
}
#postbody {width: 1024px !important; overflow: visible; padding: 0px; background: transparent !important; } .transp { filter:alpha(opacity=50); -moz-opacity:0.8; opacity:0.8; }
#page-wrap { font-family: 'Arial', sans-serif; color: #571A95; text-align: justify; border-radius: 20px; border: solid 0px white; padding-bottom: 50px; width: 720px; margin: 50px auto; padding: 40px; background-color: rgba(226,224,224,0.5); box-shadow: 0 0 10px 10px rgba(104,104,104, .6); }
</style>
肯老的
2024-10-20 15:42:39谢谢笑班,是少加了如下两项的Code,因为以前不须要~