我想知道是否可以使引导进度条圆而不是直线。如果可能,我想知道怎么做。如果没有那么我认为引导人员应该在bootstrap 4中集成这个选项
答案 0 :(得分:0)
您可以尝试以下代码片段,它对我有用..
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<h2>Basic Progress Bar</h2>
<div class="progress" style="border-radius: 10px">
<div class="progress-bar" role="progressbar" aria-valuenow="70" aria-valuemin="0" aria-valuemax="100" style="width:70%; border-radius: 10px">
<span class="sr-only">70% Complete</span>
</div>
</div>
</div>
</body>
</html>