is there a way I can move the text and other elements without moving the background color?
link to code: https://codepen.io/nianaz/pen/YzQyrqz?editors=1100
Move them where exactly?
I want to move them 15px to the right
#container { padding:30px 30px 30px 45px: }
if that’s what you mean
I meant moving ONLY the text, check-boxes, and radio element 15px to the right. I do not want to the dark pink color background, to move along it… I am sorry if I am still confusing you.
Changing the padding from 30px to what I mentioned does that although for some reason it doesn’t always work on your code, sometimes yes sometimes no… that’s weird. Try changing your container padding from padding:30px; to padding:30px 45px;
1 Like
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.