【发布时间】:2020-09-08 06:50:47
【问题描述】:
我正在尝试制作一个网站,我想使用该布局制作一个页面:
------------------------------------------
| A title | |
| There | A non square |
| |------ image |
| A long description | there |
| By there | |
| | Some text |
| | over the img |
| | |
------------------------------------------
我正在使用 vuejs 和 vuetify,我尝试过这样做:
<div style="position:absolute; top:0px; right:0px; width="60%"; background-image: url('/Background1.png');> </div>
<v-row>
<v-col cols=5>Title there </v-col>
<v-col cols=7><v-col>
<v-row>
<v-row>
<v-col cols=8>A long description by there</v-col>
<v-col cols=4>Some text over the image </v-col>
<v-row>
这适用于我的分辨率 1920*1080,但是当我缩小窗口时,它会出错,因为第二行的位置与图像的“边缘”不匹配。
我知道这是因为我使用了 'position:absolute' 但我不知道如何以其他方式进行。
一些帮助会很棒!谢谢
【问题讨论】: