css sauron.css
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了css sauron.css相关的知识,希望对你有一定的参考价值。
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<link rel="stylesheet" type="text/css" href="sauron.css">
</head>
<body>
<div class="container-fluid">
<div class="row ligne no-gutters">
<div class="gris col-1">
</div>
<div class="gris col-1 offset-9">
</div>
</div>
<div class="row no-gutters">
<div class="gris col-1">
</div>
<div class="orange col-1 offset-3">
</div>
<div class="jaune col-1">
</div>
<div class="orange col-1">
</div>
<div class="gris col-1 offset-3">
</div>
</div>
<div class="row no-gutters">
<div class="gris col-1">
</div>
<div class="orange col-1 offset-2">
</div>
<div class="jaune col-1">
</div>
<div class="noir col-1">
</div>
<div class="jaune col-1">
</div>
<div class="orange col-1">
</div>
<div class="gris col-1 offset-2">
</div>
</div>
<div class="row no-gutters">
<div class="gris col-1">
</div>
<div class="gris col-1">
</div>
<div class="orange col-1">
</div>
<div class="orange col-1">
</div>
<div class="jaune col-1">
</div>
<div class="noir col-1">
</div>
<div class="jaune col-1">
</div>
<div class="orange col-1">
</div>
<div class="orange col-1">
</div>
<div class="gris col-1">
</div>
<div class="gris col-1">
</div>
</div>
<div class="row no-gutters">
<div class="gris col-1">
</div>
<div class="gris col-1">
</div>
<div class="orange col-1 offset-1">
</div>
<div class="jaune col-1">
</div>
<div class="noir col-1">
</div>
<div class="jaune col-1">
</div>
<div class="orange col-1">
</div>
<div class="gris col-1 offset-1">
</div>
<div class="gris col-1">
</div>
</div>
<div class="row no-gutters">
<div class="gris col-1">
</div>
<div class="gris col-1">
</div>
<div class="gris col-1">
</div>
<div class="orange col-1 offset-1">
</div>
<div class="jaune col-1">
</div>
<div class="orange col-1">
</div>
<div class="gris col-1 offset-1">
</div>
<div class="gris col-1">
</div>
<div class="gris col-1">
</div>
</div>
<div class="row no-gutters">
<div class="gris col-1 offset-1">
</div>
<div class="gris col-1">
</div>
<div class="gris col-1">
</div>
<div class="gris col-1 offset-3">
</div>
<div class="gris col-1">
</div>
<div class="gris col-1">
</div>
</div>
<div class="row no-gutters">
<div class="gris col-1 offset-2">
</div>
<div class="gris col-1">
</div>
<div class="gris col-1">
</div>
<div class="gris col-1">
</div>
<div class="gris col-1">
</div>
<div class="gris col-1">
</div>
<div class="gris col-1">
</div>
</div>
<div class="row no-gutters">
<div class="gris col-1 offset-3">
</div>
<div class="gris col-1">
</div>
<div class="gris col-1">
</div>
<div class="gris col-1">
</div>
<div class="gris col-1">
</div>
</div>
<div class="row no-gutters">
<div class="gris col-1 offset-4">
</div>
<div class="gris col-1">
</div>
<div class="gris col-1">
</div>
</div>
<div class="row no-gutters">
<div class="gris col-1 offset-4">
</div>
<div class="gris col-1">
</div>
<div class="gris col-1">
</div>
</div>
</div>
</body>
</html>
.container{
width: 100%;
margin-top: auto;
margin-bottom: auto;
margin-right: auto;
margin-left: auto;
}
.noir {
background:black;
border: 1px solid white;
padding: 4%;
}
.orange {
background:orange;
border: 1px solid white;
padding: 4%;
}
.jaune {
background:yellow;
border: 1px solid white;
padding: 4%;
}
.gris{
background: grey;
border: 1px solid white;
padding: 4%;
}
以上是关于css sauron.css的主要内容,如果未能解决你的问题,请参考以下文章