body {background: #eec;} h1 {text-align: center; color:navy;} h2 {border: 10px dotted green; padding: 1ex 2em;} p{text-decoration : underline ; border: 5px inset navy; padding: 1ex 3em;} .sun{ color:#ff0000;} .mon{ color:#696969;} .tue{ color:#696969;} .wed{ color:#696969;} .thr{ color:#696969;} .fri{ color:#696969;} .sat{ color:#0000ff;} .off{color:#ff0000;} .Italy{ margin: 20px; width: 300px; height: 200px; background: #fff; position: relative; box-shadow: 0 0 10px #999; } .Italy::before, .Italy::after { content: ""; width: 33%; height: 100%; position: absolute; z-index: 1; } .Italy::before { background: #0E9D61; left: 0px; } .Italy::after { background: #FF0000; right: 0px; }