mozilla
Ihre Suchergebnisse

    shape-margin

    Unsere Freiwilligen haben diesen Artikel noch nicht in Deutsch übersetzt. Machen Sie mit und helfen Sie, das zu erledigen!

    Summary

    The shape-margin CSS property adds a margin to shape-outside.

    • Initial value 0
    • Applies to floats
    • Inherited no
    • Percentages refer to the width of the element’s containing block
    • Media visual
    • Computed value as specified
    • Animatable yes, as a length, percentage or calc(); when both values are lengths, they are interpolated as lengths; when both values are percentages, they are interpolated as percentages; otherwise, both values are converted into a calc() function that is the sum of a length and a percentage (each possibly zero), and these calc() functions have each half interpolated as real numbers.
    • Canonical order the unique non-ambiguous order defined by the formal grammar

    Syntax

    Formal syntax: <length> | <percentage>
    shape-outside: circle()
    shape-margin: 10px
    
    shape-margin: initial
    shape-margin: inherit
    shape-margin: unset
    

    Values

    <length>
    Sets the margin of the shape to the <length> .
    <percentage>
    Sets the margin of the shape to a percentage of the width of the element's containing block.

    Examples

    See [COMING SOON] for examples.

    Specifications

    Specification Status Comment
    CSS Shapes Module Level 1 Candidate Recommendation  

    Browser compatibility

    Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
    Basic support (Yes) Not supported Not supported Not supported 7.0 -webkit
    Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
    Basic support (Yes) Not supported Not supported Not supported ?

    See also

    Schlagwörter des Dokuments und Mitwirkende

    Schlagwörter: 
    Mitwirkende an dieser Seite: rebeccahauck
    Zuletzt aktualisiert von: rebeccahauck,
    Seitenleiste ausblenden