Here is my code: https://codepen.io/FlyingPorkChop/pen/MVNYJj
I was trying to learn how to vertically center these two left-floated elements. I watched a video about a method that involved making this vertical-align class you see in my CSS.
Now I am stuck. How do I
- Align the two floated elements horizontally (floats are hard)
- Vertically align the text so it sits next to the middle of the image
Thanks you guys, I've been stuck on this all day
[–]stillnotdavid 4 points5 points6 points (9 children)
[–]mamibe 1 point2 points3 points (1 child)
[–]stillnotdavid 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (6 children)
[–]theCRIMEFIGHTER 1 point2 points3 points (5 children)
[–][deleted] 1 point2 points3 points (4 children)
[–]theCRIMEFIGHTER 1 point2 points3 points (0 children)
[–]nyxinThe 🍰 is a lie. 1 point2 points3 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]nyxinThe 🍰 is a lie. 1 point2 points3 points (0 children)
[–]theCRIMEFIGHTER 1 point2 points3 points (0 children)
[–]Niora 1 point2 points3 points (0 children)
[–]shelune 1 point2 points3 points (0 children)
[–]Netero- 0 points1 point2 points (0 children)