私はページの下部に「答えはあなたです」というテキストを配置しようとしていますが、現在動作しています。効率的で反応性のあるテキストアラインメントの方法
問題は、「ビッグテキスト」要素がフル高さ(テキスト量に応じて)であるため、「ビッグテキスト」と「回答テキスト」が整列していない場合に発生します。私は高さを設定することが、HERE
HTML
<head>
<link href="https://get.gridsetapp.com/35679/" rel="stylesheet" />
</head>
<li class="aside-open-close active">
<a class="aside-opener" href="#">Q1. Question here.</a>
<div class="slide">
<div class="columns">
<div class="d1-d3">
<p>one</p>
<p>two</p>
<p>three</p>
<p class="answer-box">three - The answer is three</p>
</div>
<div class="d4-d6 grey-border">
<p>big text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text
herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig
text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig
text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig
text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig
text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig
text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig text herebig
text herebig text herebig text herebig text herebig text here</p>
</div>
</div>
</div>
</li>
をfiddelするコンテンツエリア「大きな文字」
リンクの大きさに応じて、応答性の高さではないことに、「テキストに答える」を希望します私怒鳴る
CSS
.aside-opener {
font-size: 16px !important;
font-weight: 600 !important;
}
.answer-box {
display: flex;
align-items: flex-end;
/* width: 100%; */
height: 290px;
}
.grey-border {
border: 1px solid rgba(68, 68, 68, .54);
margin-top: 15px;
}
.grey-border p {
padding: 0 10px 0 10px;
font-size: 16px;
font-weight: 600;
line-height: 19px;
}
画像正しいが、そのセットの高さを得たのは、私は、高さはあなたがネストされたフレキシボックスの列を必要とする応答または100%
NP、病気の今1を立ち上げ –
したがって、各 'li'は、画面の高さの100%でなければなりませんか? –
ええ、Iveはフィドルへのリンクを投稿しました。画面の幅を広げる必要があります –