I need help!
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?
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.