我在CSS中的内容定位有问题。我想把我的内容和垂直定位。我试过使用柔性箱,但没有用。我知道什么是柔性盒,它的特性,但它对我不起作用。这是CSS和HTML代码。
HTML:
<div class="main-div">
<div class="container-1">
<h2>What is Your Age In Days?</h2>
<div class="flex-box-container-1">
<
拆分屏幕类似于这里的屏幕:
我正试着在上面放一个向下滚动的按钮。我怎样才能把这个按钮放在窗口的中心和底部?
HTML:
.half
p These panes always split the window in the correct direction.
.half
p
| Pure CSS, only 5 rules.
span.social
| by
a[target='_blank' href='https://twitter.com/rileyjshaw