luca luca - 1 year ago 129
CSS Question

css selector: first paragraph's first letter inside a div

Once upon a time..
A beautiful princess..

How can I select (in my css) the first letter of the first paragraph inside this div??



Answer Source
div p:first-of-type:first-letter { font-weight: bold; }
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download