Frameworks Comparison at usablica.github.io

CSS 2.0

CSS 2.1

Selektors

Examples#

Assign all child elements table, tr and td of a parent element with class="addrForm" the specified styles:

.addrForm table,
.addrForm tr,
.addrForm td {
	margin: 0;
	padding: 0;
	background-color: #F00;
	}

Assign style to any table which is a child of a parent with id="addrOutput"

#addrOutput table {
	border-collapse: collapse;
	}