Search
 
SCRIPT & CODE EXAMPLE
 

CSS

CSS Layout - width and max-width

div.ex1 {
  width: 500px;
  margin: auto;
  border: 3px solid #73AD21;
}

div.ex2 {
  max-width: 500px;
  margin: auto;
  border: 3px solid #73AD21;
}
Comment

PREVIOUS NEXT
Code Example
Css :: how css is structured 
Css :: table inside table not matching borders 
Css :: sasas 
Css :: css how to make something stay on screen 
Css :: moving nested element up css 
Css :: css first child of type 
Css :: fullpage.js change the color of the anchor 
Css :: felx-wrap css 
Css :: -moz-background-inline-policy 
Css :: meaning of bbc 
Css :: Selection Handler css 
Css :: javascript select element that does not have attribute 
Css :: addCorsMappings registry.addMapping 
Css :: andy css reset 
Css :: Styling based on parent state 
Css :: inline list css without floats 
Css :: Définir le nombre minimum de mots sur les publications WordPress 
Css :: ERROR in multi ./node_modules/ngx-toastr/toastr.css ./src/styles.scss 
Css :: css every other element than self 
Css :: Footer siempre al fondo 
Css :: time display in css 
Css :: calmp css 
Css :: bold on hover but not add padding or distance 
Css :: how to make textbox shorter in html 
Css :: slide up animation css 
Css :: Add macOS-esque DropShadow to Images 
Css :: not for specific child class 
Css :: write mode css 
Css :: centralize div css 
Typescript :: expected 2 arguments but got 1. viewchild angular 
ADD CONTENT
Topic
Content
Source link
Name
4+8 =