在Bootstrap 4中为元素添加大阴影
在Bootstrap中使用.shadow-lg类向元素添加大阴影
您可以尝试运行以下代码来实现.shadow-lg类-
示例
<!DOCTYPE html>
<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/4.1.0/css/bootstrap.min.css">
<script src = "https://cdn.staticfile.org/jquery/3.3.1/jquery.min.js"></script>
<script src = "https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
</head>
<body>
<div class = "container">
<h1>Learning</h1>
<p>Learn Tutorials for free</p>
<div class = "shadow-lg p-4 mb-4 bg-white">Try programming examples</div>
<div class = "shadow-none p-4 mb-4 bg-light">Play Quiz and check your knowledge</div>
</div>
</body>
</html>热门推荐
4 敏字的祝福语简短
10 毕业离别祝福语简短老师
11 新年的祝福语简短的
12 新年送顾客祝福语简短
13 结婚婚庆祝福语简短
14 班级群毕业祝福语简短
15 感动妈妈的祝福语简短
16 老师节祝福语的简短
17 送红包祝福语简短朋友
18 撩妹生日祝福语简短