首頁  >  問答  >  主體

css - bootsrap修改字体大小

jsp页面:字号大小

<c:if test="${not empty checkReason || not empty otherReason }">

            <p class="time_p">
                <p class="col-xs-12 " style="color: red;">
                    <p class="col-xs-3 text-left">  &nbsp;&nbsp;&nbsp;  审核不通过原因   </p>
                    <c:if test="${not empty checkReason }">
                        <p class="col-xs-9 ">
                            <c:forEach items="${checkReason}" var="reason" varStatus="index">
                                <p class="col-xs-12 " style="color: red; padding: 0px;">
                                    <c:if test="${not empty reason}">
                    ${index.index+1}.${reason}
                    </c:if>
                                </p>
                            </c:forEach>
                        </p>
                    </c:if>

                    <c:if test="${not empty otherReason}">
                        <p class="col-xs-3 "></p>
                        <p class="col-xs-9 brp" style="color: red;">
                            <p class="col-xs-12 " style="color: red; padding: 0px;">
                                ${count}.${otherReason}</p>
                        </p>
                    </c:if>
                </p>
            </p>
        </c:if>
阿神阿神2742 天前1039

全部回覆(4)我來回復

  • ringa_lee

    ringa_lee2017-04-17 14:20:11

    在你的 style 屬性裡加 font-size:16px (自己改值)

    回覆
    0
  • PHP中文网

    PHP中文网2017-04-17 14:20:11

    可以直接在 style上加 font-size:10px 屬性,

    也可以加個 class 樣式,然後在css樣式裡加入這個 class 的 font-size:10px 屬性。

    回覆
    0
  • 天蓬老师

    天蓬老师2017-04-17 14:20:11

    如果是全域都想改的話就改bootstrap的來源css檔。 ;。否則就自己寫css覆蓋。

    回覆
    0
  • ringa_lee

    ringa_lee2017-04-17 14:20:11

    如果是個別樣式可以font-size:10px !improtant;

    回覆
    0
  • 取消回覆