Box 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...Feb 21, 2023 · 4 min readmayanksahu.live
FlexboxFlexbox 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...1AFeb 20, 2023 · 2 min readmayanksahu.live