css margin-bottom property


  Translation results:

margin

English [ˈmɑ:dʒɪn] American [ˈmɑ:rdʒən]

n. Edge, range; limit; profit, surplus; (outside the version) ) of the blank

vt. Leave a margin; become the side of...; add a margin to, surround; add a margin for...

Plural: margins

bottom

英[ˈbɒtəm] US[ˈbɑ:təm]

n.Bottom; end; hip; end

adj. Bottom of

vt .install the bottom; measure the depth; find out the truth

vi.reach the bottom; establish the foundation

Third person singular: bottoms Plural: bottoms Present participle: bottoming Past tense: bottomed Past participle: bottomed

css margin-bottom propertysyntax

Function: Set the lower margin of the element.

Note: Negative values ​​are allowed.

Note: All major browsers support the margin-bottom attribute.

css margin-bottom propertyexample

<html>
<head>
<style type="text/css">
p.bottommargin {margin-bottom: 2cm}
</style>
</head>

<body>
<p>这个段落没有指定外边距。</p>
<p class="bottommargin">这个段落带有指定的下外边距。</p>
<p>这个段落没有指定外边距。</p>
</body>

</html>

Run instance »

Click the "Run instance" button to view the online instance

Popular Recommendations

Home

Videos

Q&A