Expressionless Vertical Fill 3 CSS


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. body{
  2. margin: 0px;
  3. }
  4.  
  5. .container{
  6. border: 5px solid pink;
  7. position: absolute;
  8. top: 50px;
  9. left: 200px;
  10.  
  11. height: 400px;
  12. width: 350px;
  13. }
  14.  
  15. .header{
  16. height: 50px;
  17. margin-top: -50px;
  18. background-color: green;
  19. }
  20.  
  21. .display{
  22. background-color: blue;
  23. height: 100%;
  24. padding-top: 50px;
  25. }
  26.  
  27. .content{
  28. background-color: yellow;
  29. height: 100%;
  30. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.