3つのブートストラップ列があり、問題は次のとおりです。 1.内部:テキストが大きくなると '列が終わるところで停止しません。 2.カラム:テキストが単なる単語ではなく、例えば2ワード(xxx xxx)の場合、カラムは2倍になりますブートストラップ列のサイズがテキスト内部に不適切に変化する/テキストが内部に残らない
どのようにして円であるカラムが変わらず、列の中に? ありがとう!
HTML:このプロパティは、単語を分割し、次の行にそれをラップする
.row {
font-size:18px;
}
#one{
cursor:pointer;
background-color:#00b3b3;
border-radius:50%;
margin-left:150px;
width:240px;
hight:50px;
line-height:250px;
text-align:center;
}
#two{
cursor:pointer;
background-color:#00b3b3;
border-radius:50%;
margin-left:100px;
width:240px;
hight:50px;
line-height:250px;
text-align:center;
}
#three{
cursor:pointer;
background-color:#00b3b3;
border-radius:50%;
margin-left:100px;
width:240px;
hight:50px;
line-height:250px;
text-align:center;
}
CSSの高さは間違っています –
達成しようとしていることは何ですか?これらのサークルのそれぞれに特定の高さが必要ですか? –