@charset "utf-8";
/* CSS Document */



#box1 {
  height: 200px;
  padding: 50px;
  border: 10px solid rgba(0, 0, 0, 0.2);
  margin-bottom: 50px;
  background-color: pink;
}

#box2 {
  width: 400px;
  height: 300px;
  border: 2px solid red;
  padding: 30px;
  background-color: green;
  overflow: auto;
  margin-top: 100px;
}

#box3 {
  display: inline-block;
  width: 200px;
  height: 300px;
  background-color: blue;
}

#box4 {
  display: inline-block;
  background-color: red;
}


/*
#box1 {
  display: block;
  box-sizing: content-box;
  background-color: pink;
  height: 100px;
  padding: 30px;
  border: 10px solid rgba(0, 0, 0, 0.5);
  margin: 50px;
}

#box2 {
  display: block;
  box-sizing: border-box;
  background-color: pink;
  width: 300px;
  height: 200px;
  padding: 50px;
  border: 10px solid rgba(0, 0, 0, 0.5);
  margin: 50px;
  overflow-y: auto;
}

#box3 {
  display: inline;
  background-color: pink;
  width: 300px;
  height: 200px;
  padding: 10px;
  margin-right: 100px;
  margin-bottom: 100px;
  border: 3px solid red;
}

#box4 {
  display: inline-block;
  box-sizing: border-box;
  background-color: pink;
  width: 300px;
  height: 100px;
  padding: 30px;
  margin-left: 100px;
  border: 10px solid rgba(0, 0, 0, 0.5);
}

#box5 {
  max-width: 1200px;
  margin: 20px auto;
  background-color: pink;
}

#box6 {
  min-width: 1000px;
  margin: 20px auto;
  background-color: pink;
}
*/



/*

display : inline|block|flex|inline-block|inline-flex|inline-table|list-item|run-in|table|table-caption|table-column-group|table-header-group|table-footer-group|table-row-group|table-cell|table-column|table-row|none



*/
