I only had difficulty positioning the image within the div. I already know how to work well with responsiveness.
Charles
@cacti00All comments
- @IgorSouzDEVSubmitted about 1 year ago@cacti00Posted about 1 year ago
Hi @IgorSouzDev
So an easy way to display your image and content size by side to share the same width is to use grid, you could do something like this in your .container class:
display:grid grid-template-columns: repeat(2, 1fr); for desktop view and grid-template-columns: 1fr; for mobile view
Happy Coding 😁
0 - @ssuishSubmitted over 1 year ago
I am a beginner in web development, and I had a difficulty understanding the behavior of CSS. Due to my lack of experience in CSS styling, do you have any recommended resources regarding best practices, tricks, and techniques?
@cacti00Posted over 1 year agoHi! I recommend Kevin Powells YouTube channel he talks about everything regarding css from beginner level to advanced.
He also has a free course (Conquering Responsive Layouts) you can try it out.
0