MSMayank Sahuinmayanksahu.live·Feb 21, 2023 · 4 min readBox Model In CSSEverything on a website is a box Two Types of Box:- Block => Every new block elements will start on a new line. We can apply height and width property. Example :- <div>, <p>, <h1>-<h6> etc. Inline => New elements will not break into a new line. Hei...00
MSMayank Sahuinmayanksahu.live·Feb 20, 2023 · 2 min readFlexboxFlexbox is one dimensional layout method for laying out items in rows or columns. Item flex to fill additional space and shrink to fit into smaller space. The Flex Model Convert your div (class =parent ) to Flex .parent { display: flex; } Flex...01A