Skip to content

Commit

Permalink
Add image size filter on CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Dane Pacilan committed Sep 13, 2017
1 parent 3ed5335 commit dad015c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
.product-image {text-align: center;}
.product-image > img {margin: auto; max-width: 100%; display: flex; background: #eee url("./images/photo.png") no-repeat center; height: 200px;}
.link-image > a {height: 50px; font-size: 12px;}
.link-image > a[href$="CP.jpg"] {background: #C5E1A5;}
.link-image > a[href$="PD.jpg"] {background: #80CBC4;}
.link-image > a[href$="PZ.jpg"] {background: #C5CAE9;}
.link-image > a[href$="TH.jpg"] {background: #CE93D8;}
.link-image > a > img {max-height: 100%;}
</style>
</head>
Expand Down

0 comments on commit dad015c

Please sign in to comment.