【发布时间】:2019-12-09 21:26:56
【问题描述】:
我有一个 HTML,我在 DIVI 代码模块的内容部分使用了它(如下所示):
HTML(出现在内容中):
<blockquote><span>BPRO helped me realize the importance of cus- tomer organization and tracking, service track- ing and just being on the top of things behind the scene. The more you grow – the more difficult this becomes – but having the right tools to keep your business organized is just as impor- tant as having the right tools to do job itself.</span> <p>Some Person - Some Day 2018</p></blockquote>
CSS:
我也有一个 CSS,我想申请内容中的 HTML 代码。我想知道我应该把我的css代码放在哪里。我拥有的 CSS 代码是:
blockquote {
padding: 20px 60px;
background: #eee;
border-radius: 10px;
font-family: arial;
line-height: 1.625;
position: relative;
}
blockquote p {
text-align: center;
}
blockquote span {
position: relative;
display: inline-block;
}
blockquote span:before {
content: "“";
font-size: 72px;
color: #79b83a;
position: absolute;
left: -40px;
top: 40px;
line-height: 0;
}
blockquote span:after {
content: "”";
font-size: 72px;
color: #79b83a;
position: absolute;
right: -40px;
bottom: -10px;
line-height: 0;
}
问题陈述:
【问题讨论】:
标签: html css wordpress wordpress-theming