<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="author" content="Xue Huanqun">
    <title>Title</title>
    <style type="text/css">
        p{
            font-family:"kai ti";
            font-size: 45px;
            font-weight: bold;
            color: #0033CC;
            text-align: center;
<pre><code>        display: flex;
        justify-content: center;
        align-items: center;
        writing-mode: vertical-rl;
    }
    h1{
        font-family: &quot;kai ti&quot;;
        font-size: 20px;
        border: solid 3px #0033CC;
        text-align: center;
        /*width: 300px; !* 设置宽度为300像素 *!*/
        height: 100px; /* 设置高度为100像素 */
    }
    h2{
        font-family: &quot;kai ti&quot;;
        font-size: 20px;
        border: solid 3px #0033CC;
        height: 50px; /* 设置高度为100像素 */
        text-decoration: underline;
    }
    body{
        background-image: url('images/background.png');
        background-size: cover;
        background-repeat: no-repeat;
    }
&lt;/style&gt;
</code></pre>
</head>
<body>
    <h1>诗文欣赏</h1>
    <p>
        长<br>恨<br>歌<br>·<br>白<br>居<br>易<br><br>
        汉<br>皇<br>重<br>色<br>思<br>倾<br>国<br><br>
        御<br>宇<br>多<br>年<br>求<br>不<br>得<br><br>
        杨<br>家<br>有<br>女<br>初<br>长<br>成<br><br>
        养<br>在<br>深<br>闺<br>人<br>未<br>识<br><br>
        天<br>生<br>丽<br>质<br>难<br>自<br>弃<br><br>
        一<br>朝<br>选<br>在<br>君<br>王<br>侧<br><br>
        回<br>眸<br>一<br>笑<br>百<br>媚<br>生<br><br>
        六<br>宫<br>粉<br>黛<br>无<br>颜<br>色<br>
    </p>
    <h2>中华盛世的唐代与白居易的《长恨歌》</h2>
</body>
</html
将p中的文字改为纵向排列!DOCTYPE htmlhtml lang=enhead meta charset=UTF-8 meta name=author content=Xue Huanqun titleTitletitle style type=textcss p font-familykai ti; font-

原文地址: https://www.cveoy.top/t/topic/d6HW 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录