<figure class="highlight"> <pre class="pull-left"> <code class="language-html" data-lang="html"> <body data-spy="scroll" data-target="#myScrollspy">很多很多内容... </code> </pre> </figure>
代码块出现横线滚动条,原因是给pre加了pull-left类,去掉即可