-moz-border-radius - show the outer part of round corner as transparent

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Marek Mänd

    -moz-border-radius - show the outer part of round corner as transparent

    When one uses CSS such like as
    -moz-border-radius:5px;
    border:1px solid black;
    background:red;

    round corner is built in Mozilla:


    |FFFF
    |wFFF
    |WwFF
    |WWWwF
    ------

    where the W-area is painted red as the F-area,
    because they are in the rectangle |_ that is said to "be red".
    However this spoils the whole meaning and concept of round corners
    generation via CSS.

    One really should be able to give background color to the element that
    has round corners, so that that background color wouldnt flood over the
    corners in the area, that i have marked on my figure with W-s.

    So how can I tell mozilla to make the W-area TRANSPARENT ?

    If it cant be done via CSS, then the whole roundcorner concept is pretty
    shortsighted.


  • Marek Mänd

    #2
    Re: -moz-border-radius - show the outer part of round corner astransparent

    Marek Mänd wrote:
    [color=blue]
    > When one uses CSS such like as
    > -moz-border-radius:5px;
    > border:1px solid black;
    > background:red;[/color]

    Comment

    Working...