1
目前,它的外觀頁:平等垂直間距按鈕
的目標:我想在做相同的高度設置,無論橙色按鈕(模糊)它上面的文字。
相關SCSS:
.medium-2 {
padding: .5rem;
background-color: white;
box-shadow: 0px 0px 5px 3px rgba(0,0,0,0.10);
margin-left: 2.5em;
text-align: center;
float: left;
width: 20%;
height: 450px;
h4 {
font-size: 16px;
border: none;
color: #5d5d5d;
font-family: $font-family-sans-serif;
}
p {
padding-bottom: 10%;
}
.button {
text-align: center;
}
}
是否有非哈克的方式做到這一點?現在我唯一的解決辦法是進入html.erb文件,並在p
的較小塊中添加一些額外的padding-down
以將橙色按鈕按下。