Before you write a single line of custom CSS, you need a layout, a navbar, buttons, forms, and cards β and they all need to work on mobile. Bootstrap is the most widely used CSS framework for exactly this: it gives you a grid system and ready-made components, so a decent-looking responsive site can be built in an afternoon.
You include Bootstrap from a CDN and start using its classes:
<div class = "container mt-5" > <div class = "row" > <div class = "col-md-6" > <div class = "card" > <div class = "card-body" > <h5 class = "card-title" > Welcome </h5> <p class = "card-text" > This card is responsive by default. </p> <a href = "#" class = "btn btn-primary" > Get started </a> </div> </div> </div> <div class = "col-md-6" > <div class = "card" > <div class = "card-body" > <h5 class = "card-title" > Features </h5> <p class = "card-text" > The two cards sit side by side on desktop and stack on mobile.β¦