案例:Bootstrap案例     状态:可编辑再运行    进入横版
AخA
 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
    <title>W3xue教程(w3xue.com)</title> 
5
    <meta name="viewport" content="width=device-width, initial-scale=1"  charset="utf-8">
6
    <link rel="stylesheet" href="/css/bootstrap/bootstrap3.3.7.min.css">  
7
    <script src="/js/bootstrap/jquery.min.js"></script>
8
    <script src="/js/bootstrap/bootstrap3.3.7.min.js"></script>
9
</head>
10
<body>
11
    
12
<div class="container">
13
    <h2>排版</h2>
14
    <p>设置 pre 元素可滚动:</p>
15
    <pre class="pre-scrollable">
16
        内容可滚动
17
        Text in a pre element
18
        is displayed in a fixed-width
19
        font, and it preserves
20
        both      spaces and
21
        line breaks.
22
        Text in a pre element
23
        is displayed in a fixed-width
24
        font, and it preserves

 运行结果 
 北美留学生论坛