SuperSimpleDev / html-css-course-2022

1.32k stars 993 forks source link

9h #31

Open Catarina-Rita opened 1 year ago

Catarina-Rita commented 1 year ago

Hi! Just a question about the element

I learned to contain everything in the
such as picture, input, etc.. But then in the solution of the exercise 9h, the
appears separate, i.e., one
for image, one for input, etc in order to center all the elements. Now my question is, is it not possible to center everything if all the elements are contained in the same
?

Thanks a lot for your time, Catarina.

E0hazhbaramini commented 1 year ago

Hello Catrina. depend to the question: if you mean that want to put all elements in the same class and then put them in the center. yes , you can do it while you have allot of elements in one style tag.