gpt4 book ai didi

html - 带有(内联)CSS 的对 Angular 线边框线

转载 作者:行者123 更新时间:2023-11-28 04:01:00 24 4
gpt4 key购买 nike

我想要一个带 CSS 的白色斜条纹。我已经尝试过一些东西,但我没有得到它的工作。我也会把链接放在这里,你可以看看。

enter image description here

有没有人可以帮助我?

<table width="600" border="0" cellspacing="0" cellpadding="0" align="center" class="wrapper-section-one editable">
<tbody>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tbody>
<tr>
<td>
<table width="300" border="0" cellspacing="0" cellpadding="0" align="left" style="background: black; outline: none; outline-offset: 2px; border: 10px solid white; height: 90px;
background-image: linear-gradient(to bottom right, black, black 50%, white 50%, white); " class="wrapper-section-one editable bg-editable" data-selector="table.bg-editable">
<tbody>
<tr>
<td height="50">
<img src="images/blank.gif" width="1" height="1" alt="" title="">
</td>
</tr>
<tr>
<td style="text-align:center;">

<img src="images/blank.gif" width="1" height="27" alt="" title="">

</td>
</tr>
<tr>
<td height="20">
<img src="images/blank.gif" width="1" height="1" alt="" title="">
</td>
</tr>
<tr>
<td style="font-size:14px;color:#ffffff;text-transform:uppercase;text-align:center;font-weight:bold;">
&nbsp;
<br/>
</td>
</tr>
<tr>
<td height="10">
<img src="images/blank.gif" width="1" height="1" alt="" title="">
</td>
</tr>
<tr>
<td style="font-size:13px;color:#ffffff;text-transform:capitalize;text-align:center;">
&nbsp;
</td>
</tr>
<tr>
<td height="50">
<img src="images/blank.gif" width="1" height="1" alt="" title="">
</td>
</tr>
</tbody>
</table>
<table width="300" border="0" cellspacing="0" cellpadding="0" align="right" style="background: #c11717; outline: none; outline-offset: 2px; border: 10px solid white;" class="wrapper-section-one editable bg-editable" data-selector="table.bg-editable">
<tbody>
<tr>
<td height="50">
<img src="images/blank.gif" width="1" height="1" alt="" title="">
</td>
</tr>
<tr>
<td style="text-align:center;">

<img src="images/mark.png" width="17" height="27" alt="" style="display:initial;" data-selector="div.editable img">

</td>
</tr>
<tr>
<td height="20">
<img src="images/blank.gif" width="1" height="1" alt="" title="">
</td>
</tr>
<tr>
<td style="font-size:14px;color:#ffffff; text-transform:uppercase;text-align:center;font-weight:bold;">
Kop 1
</td>
</tr>
<tr>
<td height="10">
<img src="images/blank.gif" width="1" height="1" alt="" title="">
</td>
</tr>
<tr>
<td style="font-size:13px;color:#ffffff; text-transform:capitalize;text-align:center;">
Tekst 1
</td>
</tr>
<tr>
<td height="50">
<img src="images/blank.gif" width="1" height="1" alt="" title="">
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table width="300" border="0" cellspacing="0" cellpadding="0" align="left" style="background: #c11717; outline: none; outline-offset: 2px; border: 10px solid white;" class="wrapper-section-one editable bg-editable" data-selector="table.bg-editable">
<tbody>
<tr>
<td height="50">
<img src="images/blank.gif" width="1" height="1" alt="" title="">
</td>
</tr>
<tr>
<td style="text-align:center;">

<img src="images/icon_date.png" width="27" height="27" alt="" style="display:initial;" data-selector="div.editable img">

</td>
</tr>
<tr>
<td height="20">
<img src="images/blank.gif" width="1" height="1" alt="" title="">
</td>
</tr>
<tr>
<td style="font-size:14px;color:#ffffff; text-transform:uppercase;text-align:center;font-weight:bold;">
Kop 2
</td>
</tr>
<tr>
<td height="10">
<img src="images/blank.gif" width="1" height="1" alt="" title="">
</td>
</tr>
<tr>
<td style="font-size:13px;color:#ffffff; text-transform:capitalize;text-align:center;">
Tekst 2
</td>
</tr>
<tr>
<td height="50">
<img src="images/blank.gif" width="1" height="1" alt="" title="">
</td>
</tr>
</tbody>
</table>
<table width="300" border="0" cellspacing="0" cellpadding="0" align="right" style="background: black; outline: none; outline-offset: 2px;border: 10px solid white;" class="wrapper-section-one editable bg-editable" data-selector="table.bg-editable">
<tbody>
<tr>
<td height="50">
<img src="images/blank.gif" width="1" height="1" alt="" title="">
</td>
</tr>
<tr>
<td style="text-align:center;">

<img src="images/wclock.png" width="24" height="27" alt="" style="display:initial;" data-selector="div.editable img">

</td>
</tr>
<tr>
<td height="20">
<img src="images/blank.gif" width="1" height="1" alt="" title="">
</td>
</tr>
<tr>
<td style="font-size:14px;color:#ffffff;text-transform:uppercase;text-align:center;font-weight:bold;">
Kop 3
</td>
</tr>
<tr>
<td height="10">
<img src="images/blank.gif" width="1" height="1" alt="" title="">
</td>
</tr>
<tr>
<td style="font-size:13px;color:#ffffff;text-transform:capitalize;text-align:center;">
Tekst 3
</td>
</tr>
<tr>
<td height="50">
<img src="images/blank.gif" width="1" height="1" alt="" title="">
</td>
</tr>
</tbody>
</table>

</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>

最佳答案

这是使用线性渐变 CSS 方法的图像副本。需要的标记少得多:)

div#wrapper {
float: left;
width: 220px;
height: 220px;
margin: 0px;
}

div#wrapper div {
width: 100px;
height: 100px;
float: left;
background: red;
margin: 0px 10px 10px 0px;
}

div#wrapper #d1 {
background-image: repeating-linear-gradient(145deg, black, black 60px, white 60px, white 80px);
}

div#wrapper #d4 {
background: black;
}
<div id="wrapper">
<div id="d1"></div>
<div id="d2"></div>
<div id="d3"></div>
<div id="d4"></div>
</div>

关于html - 带有(内联)CSS 的对 Angular 线边框线,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43203802/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com