Created
February 18, 2015 10:40
-
-
Save DigitalEssence/cc5e6bd4ee53bc1fc54b to your computer and use it in GitHub Desktop.
CSS - Add a border and drop shadow to an element
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.av-catalogue-image { | |
border-radius: 0; | |
width: 490px; | |
height: 340px; | |
/*This adds the border, in this a 5px white border */ | |
padding: 5px; | |
/*This adds the drop shadow */ | |
-webkit-box-shadow: 6px 6px 20px -1px rgba(189,189,189,1); | |
-moz-box-shadow: 6px 6px 20px -1px rgba(189,189,189,1); | |
box-shadow: 6px 6px 20px -1px rgba(189,189,189,1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment