Height of a web page

Height of a web page


i am creating a website of 1 page in which i am using anchor tag to go through its particular part, so now how do describe height property to make website responsive according to the size of device to fill each section to screen at a time.


You want each section to be as high as the device? If that’s what you’re after (not 100% sure I understood correctly) , you can use viewport units, specifically set the height to 100vh (short for viewport height).


yes each section is divided in the equal height of the device @faktotum85