Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ----------------* CSS *-----------------
- img.characters{
- position: relative;
- height: 60px;
- width: 60px;
- display: inline-block;
- padding: 2px;
- box-shadow: 1px 2px 2px #888888;
- border: 2px solid #f0f0f0;
- margin-left: 2px;
- margin-right: 2px;
- margin-bottom: 7px;
- opacity: 1;
- top: 3px;
- box-shadow: 0 10px 4px -6px rgba(0, 0, 0, 0);
- -webkit-transition: all 0.5s linear;
- -moz-transition: all 0.5s linear;
- -o-transition: all 0.5s linear;}
- img.characters:hover{
- opacity: 1;
- top: -4px;
- border: 1px solid #f0f0f0;
- box-shadow: 0 10px 9px -6px rgba(0, 0, 0, 0.8);
- -webkit-transition: all 0.5s linear;
- -moz-transition: all 0.5s linear;
- -o-transition: all 0.5s linear;}
- ----------------* HTML *-----------------
- <div class="photos"><br /> <a class="charactericon" href="http://profiles.rphaven.com/Silent Princess" target="_blank"><img class="characters" src="https://i.imgur.com/AOZAwlu.png" alt="" width="60" height="60" /></a></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement