/ Published in: CSS
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
body{
margin: 0px;
}
.container{
border: 5px solid pink;
position: absolute;
top: 50px;
left: 200px;
height: 400px;
width: 350px;
}
.header{
height: 50px;
background-color: green;
position: absolute;
z-index: 3;
top: 0px;
width: 100%;
}
.display{
background-color: blue;
height: 100%;
border-top: 50px solid red;
}
.content{
background-color: yellow;
height: 100%;
}
Comments
 Subscribe to comments
                    Subscribe to comments
                
                