Please tell me how to place the text to press it to the bottom of the div
<div style="width:200px;height:200px;border:1px solid;"> <div> ΠΠΆΠΈΠ½ΠΈΠΉ ΡΠ΅ΠΊΡΡ </div> </div>
Still as an option with absolute positioning inside the element with relative:
.external { width: 200px; height:200px; border:1px solid; position: relative; } .internal { position: absolute; bottom: 0; }
<div class="external"> <div class="internal"> ΠΠΆΠΈΠ½ΠΈΠΉ ΡΠ΅ΠΊΡΡ </div> </div>
That's about
.text{ display: table-cell; vertical-align: bottom; width:200px;height:200px;border:1px solid;} .text1 { display: flex; align-items: flex-end; width:200px;height:200px;border:1px solid; }
<div class="text"> <div> ΠΠΆΠΈΠ½ΠΈΠΉ ΡΠ΅ΠΊΡΡ </div> </div> <div class="text1"> <div> ΠΠΆΠΈΠ½ΠΈΠΉ ΡΠ΅ΠΊΡΡ </div> </div>
Source: https://ru.stackoverflow.com/questions/946569/
All Articles