Akshima Sharmakeycomputereducation.hashnode.dev·Jun 11, 2024CSS Margin and PaddingIn CSS, margin and padding are properties used to create space around elements. However, they serve different purposes and affect elements differently. Margin Margin is the space outside the border of an element. It creates space between the element ...DiscussCSS 3HTML5
Jalaj Singhaljalajsinghal3.hashnode.dev·Apr 10, 2024Display - MarginMargins: A gap is present between 2 blocks. The CSS margin property allows us to create space around an element. They define the gap between an element and its neighboring elements. Margins can be set individually for each side (top, right, bottom...DiscussCSS
Assumpta Nalubowasumpycode.hashnode.dev·Jan 4, 2024The Ultimate Guide to Why Your CSS Margins Aren’t WorkingIntroduction CSS defines every element on an HTML page with a box called The Box Model. Alongside the element's content, padding, borders, and width, the margin is one of the properties CSS uses to define The Box Model. Unlike other box model propert...Favourite Jome and 6 others are discussing this7 people are discussing thisDiscuss·30 likes·172 readsCSS
Andy Tangandytang.hashnode.dev·Jul 7, 2023Creating Visual Hierarchy with CSS Margin and PaddingCreating a visually appealing and well-structured website involves utilizing various design techniques, including CSS margin and padding. These CSS properties not only control spacing but also play a crucial role in establishing visual hierarchy. In ...DiscussMargin
Rudraprasad Mohapatrarudraprasadmohapatra.hashnode.dev·Jan 29, 2023What are margin and padding when do you use them?What is display property and explain ? Explain min-height,min-width,max-height and max-width in CSS?What are margin and padding when do you use them? Ans:- Margin: Outside space surrounding an element. **Padding:** Inner space surrounding an element. We use margin and padding for maintaining space between the elements, better readability o...Discuss·42 readsMargin
Zuber Ustadzuberustad.hashnode.dev·Jan 3, 2023CSS Box Model (Padding, Margin, Border)What is CSS BOX MODEL? The browser's rendering engine represents each element as a rectangular box according to the standard CSS basic box model.CSS box model contains the size, position, and properties (color, background, border size, etc.) of thes...Discuss·75 readsCSS
Eirik Madlandsynack.hashnode.dev·Dec 21, 2022CSS Box Model TutorialThe Box model is a fundamental concept in CSS that defines the layout and dimensions of an element on a web page. It consists of four main components: Margins: The space around the element, outside of its border. This space can be used to separate t...Discuss·37 readsCSS
Felicia Mbeyimbeyifelicia.hashnode.dev·Jul 7, 2022Simplified Understanding Of Box ModelBOX MODEL The CSS Box Model is the primary means of layout for everything on the web. It is a standard created by the World Wide Web Consortium which describes layout as rectangular boxes in html which surround every single element on a web page. Us...Discuss·43 readsCSS