zoukankan      html  css  js  c++  java
  • margin三个值

    http://www.cnblogs.com/wangkongming/p/3204734.html

    margin标记可以带一个、二个、三个、四个参数,各有不同的含义。

    margin: 20px;(上、下、左、右各20px。)
    margin: 20px 40px;(上、下20px;左、右40px。)
    margin: 20px 40px 60px;(上20px;左、右40px;下60px。)
    margin: 20px 40px 60px 80px;(上20px;右40px;下60px;左80px。)

    在css中使用margin可以将margin-top,margin-right,margin-bottom,margin-left,缩写为一个标记,顺序为上右下左(顺时针)。

    margin标记可以带一个、二个、三个、四个参数,各有不同的含义。

  • 相关阅读:
    LeetCode 260
    LeetCode 258
    LeetCode 237
    LeetCode 226
    LeetCode 203
    LeetCode 202
    codeforces 7D
    codefroces 7C
    codeforces 7B
    codeforces 6E (非原创)
  • 原文地址:https://www.cnblogs.com/stono/p/4835134.html
Copyright © 2011-2022 走看看