Expressionless Vertical Fill CSS 1


/ 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. .display{
  16. background-color: blue;
  17. height: 100%;
  18. border-top: 50px solid red;
  19. }
  20.  
  21. .content{
  22. background-color: yellow;
  23. height: 100%;
  24. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.