* {
    box-sizing: border-box;
  }

img {
    max-width: 100%;
}

.content-box {
    background: lightgreen;
    width: 200px;
        /*take out width if you want it to be 100%*/
    height: 200px;
    padding: 40px;
    border: 5px solid red;
    margin: 50px;
    box-sizing: content-box;
}

.border-box {
    background: lightpink;
    width: 200px;
    height: 200px;
    padding: 40px;
    border: 5px solid red;
    margin: 50px;
    box-sizing: border-box;
}

.block {
    background: lightblue;
    margin: 10px;
    padding: 10px;
}

.inline {
    background: lightseagreen;
    margin: 10px;
    /*width and height will not work on inline elements */
    width: 100px;
    height: 100px;
}

.inline-block {
    background: lightpink;
    margin: 10px;
    padding: 10px;
    width: 100px;
    height: 100px;
    display: inline-block;
}

.box {
    background: honeydew;
    border: 1px solid;
    width: 100px;
    height: 100px;
    margin: 20px;
    padding: 20px;
}

.relative {
    background: burlywood;
    position: relative;
    /* top, right, bottom, left */
    left: 50px;
    top: 50px;
}

.fixed {
    background: lightpink;
    position: fixed;
    top: 50px;
    right: 50px;
    margin: 0;
}

.parent {
    background: dimgray;
    width: 300px;
    height: 300px;
    border: 1px solid;
    position: relative;
}

.absolute {
    background: coral;
    position: absolute;
    bottom: -100px;
    right: -100px;
    margin: 0;
}

.sticky {
    background: lightgoldenrodyellow;
    position: sticky;
    top: 0;
}

.face {
    background: slategrey;
    width: 200px;
    height: 200px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50px, -50px);
    border-radius: 100%;
}

.eye {
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    position: absolute;
}

.left {
    left: 30px;
    top: 40px;
}

.right {
    right: 30px;
    top: 40px;
}

.pupil {
    background: black;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    position: absolute;
}

.pleft {
    left: 50px;
    top: 50px;
}

.pright {
    right: 50px;
    top: 50px;
}

.mouth {
    position: absolute;
    background: hotpink;
    width: 100px;
    height: 50px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 40px;
}