JSFiddle - React, Tailwind, and code Playground

by rwachtler

HTML

<div class="wrap">
    <div id="outer-frame">
    <div id="inner-frame">
        <div id="content"></div>
    </div>
</div>
<div id="body">
    <div id="notch"></div>
</div>
</div>

CSS

html * {
    box-sizing: border-box;
}
.wrap{
    width: 100%;
    height: 100%;
}
#content {
    background: url('http://truestorieswithgill.com/wp-content/uploads/2013/09/20130915-190532.jpg') no-repeat center center;
    background-size: contain;
    width: 100%;
    height: 100%;
}
#outer-frame {
    border: 4px solid #DADFE1;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    height: 350px;
    width: 600px;
    margin: 0 auto;
}
#inner-frame {
    height: 100%;
    border: 20px solid #000;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    overflow: hidden;
}
#body{
    height: 20px;
    background: #DADFE1;
    width: 700px;
    margin: 0 auto;
    border-radius: 2px;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}
#notch{
    height:10px;
    width: 100px;
    background: #BDC3C7;
    margin: 0 auto;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: inset 1px -1px 2px rgba(0,0,0,0.5);
}