JSFiddle - React, Tailwind, and code Playground
HTML
<!--[if lt IE 7]> <div class="is-ie lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <div class="is-ie lt-ie9 lt-ie8 is-ie7"> <![endif]-->
<!--[if IE 8]> <div class="is-ie lt-ie9 is-ie8"> <![endif]-->
<!--[if IE 9]> <div class="is-ie is-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <div class=""> <!--<![endif]-->
<div class='photo'>
<img src='http://placekitten.com/200/300' />
</div>
</div>
CSS
.photo {
position: absolute;
right: 30px;
top: 50px;
}
.photo img {
padding: 10px;
background-color: white;
-webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
-moz-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
-webkit-transform: rotate(3deg);
-moz-transform: rotate(3deg);
-ms-transform: rotate(3deg);
-o-transform: rotate(3deg);
transform: rotate(3deg);
-webkit-backface-visibility: hidden;
}
.lt-ie9 {}
.lt-ie9 .photo {
filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.998629535, M12=-0.0523359562, M21=0.0523359562, M22=0.998629535, SizingMethod="auto expand");
background: white;
border-top: 2px solid @bg_green;
border-left: 2px solid @bg_green;
border-right: 1px solid #e6e7e8;
border-bottom: 2px solid #e6e7e8;
padding: 10px 10px 15px;
top: 30px;
right: 15px;
display: block;
}