body{ background: linear-gradient(to right, hsl(130, 50%, 40%), hsl(150, 40%, 40%)); } .notescss{ background-color: aqua; width: 250px; height: auto; margin: 10px; padding: 5px; } .notescss h3{ margin-top: 2px; margin-bottom: 2px; margin-left: 5x; border-bottom: 1px solid black; width: 80%; } .notescss p{ margin-top: 5px; margin-left: 10px; } .msgerr{ color: white; background-color: red; font-style: italic; } .msgok{ color: white; background-color: green; font-style: italic; }