css3 - Is it possible to create a notch in a shadowed box with pure css? -
i'm struggling layout i'm asking myself if possible pure css or if have use images.
what want achieve this:
so <body>
yellow area whereas white box <header>
area sort of cut off. shadow , rounded corners tricky stuff here.
add div inside header , give position:absolute. style dive according mock. (i couldn't bottom curves :( )
header { background: white; box-shadow: rgba(0, 0, 0, 0.4) 0 0 8px; height: 100px; position:relative } .curve{ background: #fcf5e5; border-radius:14px; box-shadow: inset 1px 4px 8px -5px #333; -moz-box-shadow: inset 1px 4px 8px -5px #333; -webkit-box-shadow: inset 1px 4px 8px -5px #333; height:60px; width:250px; position:absolute; left:0; right:0; margin:0 auto; bottom:-9px }
Comments
Post a Comment