text 修复破碎的杰里科
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text 修复破碎的杰里科相关的知识,希望对你有一定的参考价值。
THE HTML:
<div class="field field--name-body field--type-text-with-summary field--label-hidden basic__field basic__field--name-body basic__field--type-text-with-summary basic__field--label-hidden field__item">
<div class="grid-x grid-margin-x medium-unstack align-stretch align-spaced small-up-2 large-up-4">
<article class="cell custom-4-icons">
<div class="icon-shift">
<div class="card-divider card-divider-image">
<a href="/products-services/financial-planning">
<i class="fas fa-edit"></i>
</a>
</div>
<div class="card-divider card-divider-title">
<h3 class="node__title">
<a href="/products-services/financial-planning">
<span class="field field--name-field-role-title"><span>Planning</span></span>
</a>
</h3>
</div>
</div>
</article>
<article class="cell custom-4-icons">
<div class="icon-shift">
<div class="card-divider card-divider-image">
<a href="/products-services/financial-planning">
<i class="fas fa-signal"></i>
</a>
</div>
<div class="card-divider card-divider-title">
<h3 class="node__title">
<a href="/investing">
<span class="field field--name-field-role-title"><span>Services</span></span>
</a>
</h3>
</div>
</div>
</article>
<article class="cell custom-4-icons">
<div class="icon-shift">
<div class="card-divider card-divider-image">
<a href="/products-services/financial-planning">
<i class="fas fa-shield-alt"></i>
</a>
</div>
<div class="card-divider card-divider-title">
<h3 class="node__title">
<a href="/protecting">
<span class="field field--name-field-role-title"><span>Protecting</span></span>
</a>
</h3>
</div>
</div>
</article>
<article class="cell custom-4-icons">
<div class="icon-shift">
<div class="card-divider card-divider-image">
<a href="/products-services/financial-planning">
<i class="fas fa-money-bill-wave"></i>
</a>
</div>
<div class="card-divider card-divider-title">
<h3 class="node__title">
<a href="/lending">
<span class="field field--name-field-role-title"><span>Lending</span></span>
</a>
</h3>
</div>
</div>
</article>
</div>
</div>
THE CSS:
.block.block--cta-4-icons {
position: relative;
background: transparent;
}
@media print, screen and (min-width: 64em){
.block.block--cta-4-icons .custom-4-icons.cell {
margin-top: 0;
}
}
.block.block--cta-4-icons .custom-4-icons .icon-shift{
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
z-index: 4;
}
.block.block--cta-4-icons .custom-4-icons .icon-shift .card-divider{
background: none;
display: flex;
padding: 1.071rem;
}
.block.block--cta-4-icons .custom-4-icons i{
-webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.35);
box-shadow: 0 3px 5px rgba(0,0,0,0.35);
height: 7.857rem;
width: 7.857rem;
background: var(--primary-color,var(--primary-color,#1779ba));
border: 0.214rem solid white;
-webkit-transition: background 300ms ease;
transition: background 300ms ease;
font-size: 60px;
align-items: center;
justify-content: center;
margin: 0 auto;
display: flex;
color: white;
}
以上是关于text 修复破碎的杰里科的主要内容,如果未能解决你的问题,请参考以下文章