/* this uses a tag selector */

h2 {
    color: green;
    font-size: x-large;
}

/* this uses an ID selector */

#box1 {
    margin: 10px 5%;
    border: 2px solid orange;
    padding: 2ex 2em;
}

/* these use a class selector */

.fruit { color: red; }
.veg { color: green; }
