+ 1

Flexbox Help: alignment

Please help! 😩 I have tried all kinds of ways, read up on flexbox and flexgrid, tried align-self, align-items, align-content, and haven’t figured it out after about an hour of trying. I simply need for the sun to rise in the east, not the west! https://code.sololearn.com/WHGJFsHplPXJ/?ref=app

5th Feb 2022, 1:49 AM
Tahiti🌍Castillo
Tahiti🌍Castillo - avatar
2 ответов
+ 3
#sphere { width: 50px; height: 50px; background: #F4FA01; position: absolute; left: 80%; // <-here border-radius: 50%; box-shadow: 1px 1px 5px 10px yellow; display: flex; flex-direction: column; align-self: end; } with left you move it away from the left edge l the value can be percentage, pixels, etc
5th Feb 2022, 2:06 AM
L.M.Paredes
L.M.Paredes - avatar
+ 1
L.M.Paredes Thanks a million for helping me with this!!! 🙏
5th Feb 2022, 2:35 AM
Tahiti🌍Castillo
Tahiti🌍Castillo - avatar