티스토리 뷰

공부

[CSS] height & width full screen

승가비 2021. 1. 1. 23:20
728x90

https://stackoverflow.com/questions/7357818/how-can-an-html-element-fill-out-100-of-the-remaining-screen-height-using-css

 

How can an html element fill out 100% of the remaining screen height, using css only?

I have a header element and a content element: #header #content I want the header to be of fixed height and the content to fill up all the remaining height available on the screen, with overflow-y:

stackoverflow.com

 

728x90

'공부' 카테고리의 다른 글

BitMEX API  (0) 2021.01.01
[PHP] indexOf == stripos; lastIndexOf == strripos  (0) 2021.01.01
[PHP] resize image  (0) 2021.01.01
[CSS] center position  (0) 2021.01.01
remove cache for safari  (0) 2021.01.01
댓글