I have a website which looks perfect on the desktop view. I have created the fiddle as well so that its easy to make changes.
The snippets of CSS codes which I have used in order to align the squares in a row are:
.squares {
display: flex;
justify-content: space-between;
align-items:center;
padding: 1rem;
flex-wrap: wrap;
}
.squares .square {
width: 13%;
text-align: center;
height: 150px;
padding-top: 1%;
padding-left: 1%;
padding-right: 1%;
border-style: solid;
border-width: 3px;
border-color: rgb(145, 147, 150);
border-radius: 10px;
}
Problem Statement:
I am wondering what CSS codes I should add here or change so that I am able to horizontally scroll the square boxes in a mobile view similar to the following screenshot:
At this moment, in the mobile view it is fit to the screen but not scrolling horizontally.