target first element only css code example Example: css first element p:first-child { font-size: 1.5em; }