Hi
I'm afraid this looks very broken for me I think because of how you're using viewport units on height. You'll only ever want to use a min- height in viewport units when necessary, which then allows content to grow as needed.
For this component though, I don't think even min-heights are necessary anywhere except the outer wrapper, maybe the image container if you are doing it with a background image and not placing it in the html...
Before any of that though, you need to address the html first
- use a heading
- remove all the line breaks
- swap mark for span
- put the words like "companies" in lowercase in the html so they can be read out by screenreaders. You can change their case to uppercase visually using the text-transform css property.
Good luck
@foolhardy21
Posted
@grace-snow thanks for helping. i'm making the changes in html. can you also help me in a case where if i reduce my viewport height, the list elements are overflowing its parent div from bottom. how do stop this? thanks.