2016年12月5日 星期一

bootstrap Typography




<div class="container">
        <div class="row">
            <div class="col-sm-12">
                <h1>Heading</h1>
                <p class="h1">h1. Bootstrap heading</p>
                <p class="h2">h2. Bootstrap heading</p>
                <p class="h3">h3. Bootstrap heading</p>
                <p class="h4">h4. Bootstrap heading</p>
                <p class="h5">h5. Bootstrap heading</p>
                <p class="h6">h6. Bootstrap heading</p>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-6">
                <h1 class="display-1">Display 1</h1>
                <h1 class="display-2">Display 2</h1>
                <h1 class="display-3">Display 3</h1>
                <h1 class="display-4">Display 4</h1>
            </div>
            <div class="col-sm-6">
                <ul class="list-inline">
                    <li class="list-inline-item">one</li>
                    <li class="list-inline-item">two</li>
                    <li class="list-inline-item">three</li>
                    <li class="list-inline-item">four</li>
                </ul>
            </div>
        </div>
    </div>


http://www.w3schools.com/bootstrap/bootstrap_typography.asp


.list-unstyledRemoves the default list-style and left margin on list items (works on both <ul> and <ol>). This class only applies to immediate children list items (to remove the default list-style from any nested lists, apply this class to any nested lists as well)Try it
.list-inlinePlaces all list items on a single line






沒有留言:

張貼留言