【发布时间】:2017-02-07 10:43:04
【问题描述】:
我怎样才能使我的文本响应。例如在桌面上
--------------------------------
12 0 12 15 |
|
|
|
--------------------------------
如果字体太大,我希望在移动设备上转到下方
------
12 |
0 |
12 |
15 |
现在我的文字没有响应..我的数字相互矛盾。
这是我正在使用的代码:
.hasCountdown {
text-shadow: transparent 0px 1px 1px;
overflow: hidden;
padding: 30px;
/*cursor:pointer;*/
}
.countdown_rtl {
direction: rtl;
}
.countdown_holding span {
background-color: #ccc;
}
.countdown_row {
clear: both;
width: 100%;
padding: 3px 2px;
text-align: center;
}
.countdown_show4 .countdown_section {
width: 24.5%;
}
.countdown_section {
display: block;
float: left;
text-align: center;
line-height: 200%;
margin:3px 0;
font-family:'halvetica_light';
}
.countdown_amount {
font-size: 450%;
}
.countdown_amount_red
{
color:red;
}
【问题讨论】:
-
你在做bootstrap吗?
-
如果不显示 HTML,您将得到的只是猜测。
-
另外,您拼错了字体名称。
标签: css responsive-design font-size