<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>菜鸟教程(runoob.com)</title>
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body> <div class="container">
<h2>实例</h2>
<p> .sr-only 类除了屏幕阅读器外,其他设备上都隐藏元素:</p>
<a class="sr-only" href="#">跳转到主要内容</a>
<p>与 .sr-only 类结合使用,在元素获取焦点时显示(如:键盘操作的用户):</p>
<a class="sr-only sr-only-focusable" href="#">跳转到主要内容</a>
</div> </body>
</html>