我想知道是否可以将 Bootstrap 进度条设为圆而不是直线。如果可能的话,我想知道唐怎么样了。如果不是,那么我认为 bootstrap 人员应该将此选项集成到 bootstrap 4 中
最佳答案
您可以尝试以下代码片段,它对我有用..
<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>
关于twitter-bootstrap - Bootstrap 进度条圆 Angular ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42942879/