luvmatters
luvmatters
KPCKevin Powell - Community
Created by luvmatters on 8/27/2023 in #front-end
Challenge 1 Question
@kevinpowell // Day one challenge 1. Limit the total width of the “intro-content” to “about half” of its “PARENT”. 2. Stop the text from “overflowing out the bottom” at small screen widths. You may modify the HTML if needed. // My answer: . intro-content { width: 25% ; /* half of 50% is 25%*/ } But… it’s still over lapping, now I tried many percentages below 50% cause last time I check half of 50 is 25! Can someone please explain this to me? Cause I’m lost. And yes I Google the answer as well and someone put the same as the PARENT 50% but it still shows the text overlapping.
74 replies