说明
<>以前通过颜色来展示意图,Bootstrap 提供了一组工具类。这些类可以应用于链接,并且在鼠标经过时颜色可以还可以 加深,就像默认的链接一样示例
& lt; ! DOCTYPE html> & lt; html  lang="应用"比; ,,& lt; head> ,,,,& lt; meta charset=" utf - 8 "比; ,,,,& lt; meta  http-equiv=" X-UA-Compatible ",内容=癐E=边缘”比; ,,,,& lt; meta name="视窗",内容=翱矶?设备宽度,初始=1”比; ,,,,& lt; !——,上述3个元标签*必须*放在最前面,任何其他内容都*必须*跟随其后!,——比; ,,,,& lt; title> Bootstrap 101年,Template ,,,,& lt; !——, Bootstrap ——比; ,,,,& lt; link  rel="样式表",href=" https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css ",诚信=皊ha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va + PmSTsz/K68vbdEjh5u”, crossorigin=澳涿北? ,,,,& lt; !——, HTML5 shim 以及Respond.js for IE8 support of HTML5 elements 以及media queries ——比; ,,,,& lt; !——,警告:,Respond.js 并't work if 你view 从而page via 文件://,,在 ,,,,& lt; !——(if lt  IE 9]比; ,,,,,& lt; script  src=" https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js "祝辞& lt;/script> ,,,,,& lt; script  src=" https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js "祝辞& lt;/script> ,,,,& lt; ! [endif]——比; ,,& lt;/head> ,,& lt; body> ,,& lt; div 类="容器"比; & lt; p 类=" text-muted "祝辞Fusce dapibus,, tellus ac cursus commodo,, tortor mauris nibh。;/p> & lt; p 类=" text-primary "祝辞Nullam id dolor id nibh ultricies vehicula ut id elit。;/p> & lt; p 类=" text-success "祝辞Duis mollis,, est non commodo luctus,, nisi erat porttitor 唇舌。;/p> & lt; p 类=" text-info "祝辞Maecenas sed diam eget risus varius blandit sit amet non 麦格纳。;/p> & lt; p 类=" text-warning "祝辞Etiam porta sem malesuada magna mollis euismod。;/p> & lt; p 类=" text-danger "祝辞Donec ullamcorper nulla non metus auctor fringilla。;/p> ,,,& lt;/div> ,,,,& lt; !——, jQuery (necessary for 引导's JavaScript 插件),——比; ,,,,& lt; script  src=" https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js "祝辞& lt;/script> ,,,,& lt; !——, Include all  compiled plugins (下图),或是Include individual files as needed ——比; ,,,,& lt; script  src=" https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js ",诚信=皊ha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa”, crossorigin=澳涿弊4? lt;/script> ,,& lt;/body> & lt;/html>
输出