select div id css code example Example: CSS how to select ID #id-selector-name{ font-size: 20px; } .class-selector-name{ color: green; }