我需要對齊圖中所示的節信息。 這裏的桌面視圖:將特定列元素移動到引導程序中的行頂部
而這裏的移動視圖,節頭「歡迎」應該移動到行的頂部在移動視圖圖所示
但是在我的程序,它像通常預期的那樣堅持該段落,並在圖像下落下。
注意:圖像是我想要的輸出,我沒有得到。 我對CSS有點新,我需要解決這個問題。 這裏是我的代碼
.col-centered {
text-align: left;
padding-top: 10px;
padding-bottom: 10px;
}
<div class="row">
<div class="col-sm-5 col-centered">
<img class="img-responsive" src="./Assets/Welcome_image.png" alt="WelcomeImage" />
</div>
<section class="col-sm-7 col-centered">
<h2 id="textheading">Welcome</h2>
<p>Provide highest quality education to students. give studnets more than what we promise them.Children of the ages between 18 months and 6 years are extremely receptive. Kids Planet Kids pre-schools' fun filled programme makes the most of this by encouraging the childrens to understand and develop socail skills, gross and fine major skills and creativity at the same time, throug songs, music and imaginative play.</p>
<p><mark> Read More </mark></p>
</section>
</div>
<div class="row">
<div class="col-sm-5 col-centered">
<img class="img-responsive" src="./Assets/AboutusImage.png" alt="AboutUsImage" />
</div>
<section class="col-sm-7 col-centered">
<h2 id="textheading">About Us</h2>
<p>Kids Planet is a leading education and test preparation comapny, head quartered in Secunderabad, has grown into a specialist, multi-location, multi-programme training provider having 118 cities across India. Kids Planet is a leading education and test preparation comapny, head quantered in secunderanbad. Has grown into a specialist, multi-location, multi-programme training provider having 118 cities across India.</p>
<p><mark> Read More </mark></p>
</section>
</div>
你說你需要 解決這個問題「但問題是什麼?是不是「歡迎」標題看起來像圖片(但目前沒有)或「歡迎」標題目前看起來像圖片(但它不應該)?請展開你想要的結果 – ochi
'歡迎'標題應該看起來像圖像(但目前它不)。我爲我的問題的不正確形成道歉。我編輯過它。感謝您的回覆請幫助,如果可以的話。 –