zoukankan      html  css  js  c++  java
  • 用html做旗子


    <!doctype html>

    <html lang="en">

    <head>

    <meta charset="utf-8">

    <title>旗子</title>

    <style>

    .flag{ 300;

    height:1000px;

    border-left:5px solid black;

    display:inline-block;

    margin-left:30px;

    padding: 0px;

    background-clip:border-box;

    outline: 6px solid black;

    }

    .flag1{ 0;

    height:0;

    border-top:100px solid transparent;

    border-right:100px solid transparent;

    border-bottom:100px solid transparent;

    border-left:400px solid red;

    display:inline-block;

    margin: 0px;

    padding: 0px;

    vertical-align: top }

    </style>

    </head>

    <body>

    <div class="flag">

    </div>

    <div class="flag1">

    </div>

    </body>

    </html>

  • 相关阅读:
    心得
    第七章
    第六章
    第五章
    第四章
    第三章
    第二章
    第一章
    实验2(4)
    实验2(3)
  • 原文地址:https://www.cnblogs.com/dbda/p/11233079.html
Copyright © 2011-2022 走看看