Home  >  Q&A  >  body text

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 days ago1037

reply all(4)I'll reply

  • ringa_lee

    ringa_lee2017-04-17 14:20:11

    Add font-size:16px to your style attribute (change the value yourself)

    reply
    0
  • PHP中文网

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

    You can directly add the font-size:10px attribute to the style,

    You can also add a class style, and then add the font-size:10px attribute of this class in the css style.

    reply
    0
  • 天蓬老师

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

    If you want to change it globally, change the source css file of bootstrap. ;. Otherwise, just write the css coverage yourself.

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 14:20:11

    If it is an individual style, you can use font-size:10px !improtant;

    reply
    0
  • Cancelreply