xxxxxxxxxx
/* :not() - This selector is used to style all the elements except the one which is
inside the parameter of :not() */
// Inside the parent element it will provide the color red to all p elements except
the last child or last p element inside that parent element
.parent :not(p:nth-last-child(1)){
color:red;
}
/* NOTE - remember to give a space before the :not() selector always if you are using
it with a parent element like above. */
xxxxxxxxxx
/* Selects any element that is NOT a paragraph */
:not(p) {
color: blue;
}
xxxxxxxxxx
input.form-control:not(input[type=file]) {
border-radius: 10px !important;
background-color: white;
height: 45px;
font-size: 16px;
}