Skip to content

Commit

Permalink
Update styles.css
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardmatanga authored Jan 26, 2024
1 parent faab36a commit ac0b0bb
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,29 @@ body {

.container {
width: 100%;
max-width: 1200px;
margin: 20px auto;
overflow: hidden;
}

.section {
box-sizing: border-box;
width: 100%;
margin: 0 0 20px 0;
float: left;
width: 33.33%;
margin: 0 10px 20px 0;
position: relative;
background-color: #f0f0f0;
border: 1px solid #000;
background-color: #f0f0f0; /* Set background color for sections */
border: 1px solid #000; /* Set 1px black border for sections */
}

.section-title {
position: absolute;
top: 0;
right: 0;
background-color: #333;
color: #fff;
background-color: #333; /* Set background color for section title regions */
color: #fff; /* Set text color for section title regions */
padding: 5px 10px;
border: 1px solid #000;
border: 1px solid #000; /* Set 1px black border for section title regions */
}

/* Tablet view */
Expand Down

0 comments on commit ac0b0bb

Please sign in to comment.