Search
 
SCRIPT & CODE EXAMPLE
 

CSS

margin 0 auto

Specifying 0 tells the browser to set the top and bottom margin to 0.

Specifying auto tells the browser to automatically determine the left
and right margins equally.

It's the same as:

margin-top:0;
margin-bottom:0;
margin-left:auto;
margin-right:auto;

Comment

PREVIOUS NEXT
Code Example
Css :: css keep div at bottom of screen when scrolling 
Css :: outside padding css 
Css :: how to give text stroke in css 
Css :: @each scss 
Css :: css filter color 
Css :: background color css 
Css :: hide overflow but still scroll 
Css :: how to add a photo using css beside a paragraph in html 
Css :: css get the image to the center and to make it relative to the width of the parent. 
Css :: select dropdown icon change 
Css :: inner border css 
Css :: javafx set border outside 
Css :: call circle icon in html css 
Css :: how to make rounded corners in css with images 
Css :: decrease div size 
Css :: ng-deep 
Css :: How to specify that the background image should be shown once, in the top right corner. 
Css :: how to use font awesome with tailwind css 
Css :: circle css 
Css :: list decoration none 
Css :: how to install tailwind css in html 
Css :: mix color using css 
Css :: calendar api 
Css :: mac input shadow 
Css :: background shorthand 
Css :: css not full width 
Css :: css size 
Css :: have unordered list horizontal css 
Css :: wordpress theme Adding style.css in function.php 
Css :: Media Query Smartphone Portrait 
ADD CONTENT
Topic
Content
Source link
Name
1+3 =