Need Help understanding this picture cut off effect
in the box where it says "manage multiple accounts" and "schedule to social media" the pictures are cut off or past the box itself so i was wondering how I can achieve this affect? Would i use transform or pos relative/abs and overflow hidden?
2 Replies
and for the maintain a consistent schedule
Are you expecting arbitrary images in the boxes? Or is it these images specifically? If it is just specific images you could just get a version of the image with it cut off within the graphic file. Then allow it to position against the edge with a padding of 0 on the edge, or maybe a negative margin depending on your setup.
If it needs to be arbitrary images then I might try a div within the card that spans the full width and has a relative position and overflow hidden. Inside that div the image can be placed with a width larger than the card. The div should also only have padding on three edges. Kind of depends on your setup though, but that's how I'd start to attempt it.