Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

media query change button text

<button type="button" class="btn btn-default btn-md btn-block">
    <i class="fa fa-plus"></i>
    <span class="button-text">Add New Item</span>
</button>

@media screen and (max-width: 300px) {
    .button-text {
        display: none;
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #media #query #change #button #text
ADD COMMENT
Topic
Name
1+7 =