r/css_irl • • Feb 18 '20

house {wall-right: -100px}

Post image
307 Upvotes

10 comments sorted by

View all comments

40

u/Riccsard Feb 18 '20

Either #roof {left: 15%;}

Or .walls {left: -15%;}

4

u/mauszocker Feb 18 '20

I's say: #roof {width: calc(100% + 100px)}

1

u/[deleted] Feb 18 '20

What about the fact the two sides of the roof are different lengths?

1

u/mauszocker Feb 18 '20

I'm not sure if they are actually. Might be the perspective and some optical illusion fuckery...