June 25, 2013 at 11:26 am #45832
I need help!
- Landscape Buildings
I need to target the first word ‘Landscape’ and set its font size to be smaller than that of ‘Buildings’.
I’ve tried using the sudo :first-word on the li and li a tag but to no avail.
Anyone have any ideas?
LeeJune 25, 2013 at 11:34 am #140276
There is no such pseudo class as `:first-word.`
You would need to wrap the word in a span and add a class to that to affect it…but then you’re gonna have a span in a span.
That’s OK but it looks like you have images in there too which seems a little odd.
Do you have a live link?
You must be logged in to reply to this topic.