css oeil_sauron_bootstrap.html

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了css oeil_sauron_bootstrap.html相关的知识,希望对你有一定的参考价值。

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
        crossorigin="anonymous">
    <link rel="stylesheet" href="style.css">
    <title>L'oeil de Sauron</title>
</head>

<body>


    <div class="container">

        <div class="row no-gutters">
          <div class="col-1 blackBox"></div>
          <div class="col-1 offset-9 blackBox"></div>
        </div>
    
        <div class="row no-gutters">
          <div class="col-1 blackBox"></div>
          <div class="col-1"></div>
          <div class="col-1"></div>
          <div class="col-1"></div>
          <div class="col-1 orangeBox"></div>
          <div class="col-1 yellowBox"></div>
          <div class="col-1 orangeBox"></div>
          <div class="col-1"></div>
          <div class="col-1"></div>
          <div class="col-1"></div>
          <div class="col-1 blackBox"></div>
        </div>
    
        <div class="row no-gutters">
          <div class="col-1 blackBox"></div>
          <div class="col-1"></div>
          <div class="col-1"></div>
          <div class="col-1 orangeBox"></div>
          <div class="col-1 yellowBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 yellowBox"></div>
          <div class="col-1 orangeBox"></div>
          <div class="col-1"></div>
          <div class="col-1"></div>
          <div class="col-1 blackBox"></div>
        </div>
    
        <div class="row no-gutters">
          <div class="col-1 blackBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 orangeBox"></div>
          <div class="col-1 orangeBox"></div>
          <div class="col-1 yellowBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 yellowBox"></div>
          <div class="col-1 orangeBox"></div>
          <div class="col-1 orangeBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 blackBox"></div>
        </div>

        <div class="row no-gutters">
          <div class="col-1 blackBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1"></div>
          <div class="col-1 orangeBox"></div>
          <div class="col-1 yellowBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 yellowBox"></div>
          <div class="col-1 orangeBox"></div>
          <div class="col-1"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 blackBox"></div>
        </div>
    
        <div class="row no-gutters">
          <div class="col-1 blackBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1"></div>
          <div class="col-1 orangeBox"></div>
          <div class="col-1 yellowBox"></div>
          <div class="col-1 orangeBox"></div>
          <div class="col-1"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 blackBox"></div>
        </div>
    
        <div class="row no-gutters">
          <div class="col-1"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1"></div>
          <div class="col-1"></div>
          <div class="col-1"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1"></div>
        </div>
    
        <div class="row no-gutters">
          <div class="col-1"></div>
          <div class="col-1"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1"></div>
          <div class="col-1"></div>
        </div>
    
        <div class="row no-gutters">
          <div class="col-1"></div>
          <div class="col-1"></div>
          <div class="col-1"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1"></div>
          <div class="col-1"></div>
          <div class="col-1"></div>
        </div>
    
        <div class="row no-gutters">
          <div class="col-1"></div>
          <div class="col-1"></div>
          <div class="col-1"></div>
          <div class="col-1"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1"></div>
          <div class="col-1"></div>
          <div class="col-1"></div>
          <div class="col-1"></div>
        </div>
    
        <div class="row no-gutters">
          <div class="col-1"></div>
          <div class="col-1"></div>
          <div class="col-1"></div>
          <div class="col-1"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1 blackBox"></div>
          <div class="col-1"></div>
          <div class="col-1"></div>
          <div class="col-1"></div>
          <div class="col-1"></div>
        </div>
    </div>



    <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
        crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
        crossorigin="anonymous"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
        crossorigin="anonymous"></script>
</body>

</html>

@media(min-width:400px){

    .container
    {
        min-width: 400px;
    }

    .blackBox
    {
        border: 1px solid white;
        background-color: black;
        padding: 4%;
    }

    .orangeBox
    {
        border: 1px solid white;
        background-color: orange;
        padding: 4%;
    }

    .yellowBox
    {
        border: 1px solid white;    
        background-color: yellow;
        padding: 4%;
    }

    .col-xs-1
    {
        padding: 4%;
    }

}

@media(max-width:398px){

    .container
    {
        min-width: 250px;
    }

    .blackBox
    {
        border: 1px solid white;
        background-color: black;
        padding: 4%;
    }

    .orangeBox
    {
        border: 1px solid white;
        background-color: orange;
        padding: 4%;
    }

    .yellowBox
    {
        border: 1px solid white;    
        background-color: yellow;
        padding: 4%;
    }

    .col-xs-1
    {
        padding: 4%;
    }

}

以上是关于css oeil_sauron_bootstrap.html的主要内容,如果未能解决你的问题,请参考以下文章

如何在CSS中调用公用css

css [css:fadeout / fadein] css示例。 #css

css基础 CSS 组合选择符CSS 伪类CSS 伪元素

css 深度提示#css中的css base builder CSS

css基础 CSS 媒体类型CSS 属性 选择器CSS 表单CSS 计数器

什么是css