Skip to content

Commit

Permalink
fixed float
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic Dorhat committed Mar 27, 2018
1 parent a3185ab commit 6295247
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
17 changes: 12 additions & 5 deletions css/aboutus.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
height: 100%;
overflow: hidden;
text-align: left;
/* float: left; */

}

Expand Down Expand Up @@ -54,7 +53,6 @@
border-radius: 15px;
width: 550px;
height: 350px;
/* float: left; */
/* background-color: #455A64; */
background-color: white;
/* display: inline-block; */
Expand All @@ -70,15 +68,25 @@
margin: 20px;
text-align: center;

}
.product-title h2 {
margin: 20px;
text-align: center;


}
.about-us{
text-align: center;
width: 100%;
height: auto;
margin-bottom: 50px;
padding: 20px;
/* display: flex; */
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-items: center;

}

.about-us img {
Expand Down Expand Up @@ -108,9 +116,8 @@
transition: 0.3s;
width: 400px;
height: auto;
float: left;
border-radius: 15px;
margin: 12px;
margin: 15px;
text-align: center;
margin-bottom: 50px;

Expand Down
3 changes: 1 addition & 2 deletions css/cart.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@

.cart h3 {
text-align: center;
/* margin-bottom: 0; */
}


.cart-table {
line-height: 1.6;
margin: 0;
}
/* table */

/* table */
table {
margin: auto;
border-style: none;
Expand Down
1 change: 0 additions & 1 deletion css/slider.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.slider-holder
{
width: 100vw;
/* height: 450px; */
height: auto;
background-color: white;
margin-left: auto;
Expand Down
5 changes: 1 addition & 4 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ body {
padding: 0 ;
margin: 0;
font-size: 15px/1.5;
font-family: 'Karla', sans-serif;

/*following is experimental flex */
font-family: 'Karla', sans-serif;
display: flex;
min-height: 100vh;
flex-direction: column;
Expand All @@ -13,7 +11,6 @@ body {
main {
flex: 1 0 auto;
}
/*end of experiment */

button::-moz-focus-inner {
border: 0;
Expand Down

0 comments on commit 6295247

Please sign in to comment.