怎么用图文混排和设置图形背景的方式完成以下古诗词的页面排版。
外层div盒子加background背景图,里面ul,li调整位置,你这是作业?
设置背景 图片为 背景 然后可以修改文字排版https://www.runoob.com/cssref/css-pr-writing-mode.html
writing-mode
horizontal-tb:水平方向自上而下的书写方式。即 left-right-top-bottom
vertical-rl:垂直方向自右而左的书写方式。即 top-bottom-right-left
vertical-lr:垂直方向内内容从上到下,水平方向从左到右
sideways-rl:内容垂直方向从上到下排列
sideways-lr:内容垂直方向从下到上排列
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
* {
margin: 0;
padding: 0;
}
.box {
width: 500px;
height: 200px;
background: url(https://img0.baidu.com/it/u=1129712611,2253812104&fm=253&app=120&size=w931&n=0&f=JPEG&fmt=auto?sec=1667408400&t=9e00db7eb7c05282b6b302508f172793) no-repeat;
}
.text {
writing-mode: vertical-rl;
}
</style>
</head>
<body>
<div class="box">
<div class="text">
<p>大江东去</p>
<p>浪淘尽</p>
<p>千古风流人物</p>
<p>故垒西边,人道是</p>
<p>三国周郎赤壁。</p>
</div>
</div>
</body>
</html>