gpt4 book ai didi

html - 为什么基金会有时不平等地调整列的大小?

转载 作者:行者123 更新时间:2023-11-28 01:31:07 26 4
gpt4 key购买 nike

我有这个基础 JSFiddle:http://jsfiddle.net/nycynik/qn8z3cut/2/

而且它看起来不像井字游戏,而是右边的列是齐平的,其余的都是不同的大小。我希望它们都具有相同的大小。

<body>
<div class="wrapper">
<div class="row">
<div class="small-12 medium-4 large-4 columns yellow_gradient">
<h2>1C</h2>
<p>Rough Diamond</p>
<hr />
<p>Poor Performance<br/>High Potential</p>
</div>
<div class="small-12 medium-4 large-4 columns green_gradient">
<h2>1B</h2>
<p>Future Star</p>
<hr />
<p>Good Performance<br/>High Potential</p>
</div>
<div class="small-12 medium-4 large-4 columns green_gradient">
<h2>1A</h2>
<p>Consistent Star</p>
<hr />
<p>Outstanding Performance<br/>High Potential</p>
</div>
</div>
<div class="row">
<div class="small-12 medium-4 large-4 columns yellow_gradient">
<h2>2C</h2>
<p>Inconsistent Player</p>
<hr />
<p>Poor Performance<br/>Moderate Potential (new role)</p>
</div>
<div class="small-12 medium-4 large-4 columns yellow_gradient">
<h2>2B</h2>
<p>Key Player</p>
<hr />
<p>Good Performance<br/>Moderate Potential</p>
</div>
<div class="small-12 medium-4 large-4 columns green_gradient">
<h2>2A</h2>
<p>Current Star</p>
<hr />
<p>Outstanding Performance<br/>Moderate Potential</p>
</div>
</div>
<div class="row">
<div class="small-12 medium-4 large-4 columns red_gradient">
<h2>3C</h2>
<p>Talent Risk</p>
<hr />
<p>Poor Performance<br/>Limited Potential</p>
</div>
<div class="small-12 medium-4 large-4 columns yellow_gradient">
<h2>3B</h2>
<p>Solid Professional</p>
<hr />
<p>Good Performance<br/>Moderate Potential</p>
</div>
<div class="small-12 medium-4 large-4 columns yellow_gradient">
<h2>3A</h2>
<p>High Professional</p>
<hr />
<p>Outstanding Performance<br/>Limited Potential</p>
</div>
</div>
</div>
</body>

最佳答案

您链接到的 foundation.min.css 样式表不包含任何列类,例如small-12medium-4

这是一个 updated fiddlehttp://cdn.foundation5.zurb.com/foundation.css 链接到 Foundations 当前 CDN 样式表

关于html - 为什么基金会有时不平等地调整列的大小?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30249997/

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