Currently, I am working on my portfolio and facing a challenge. I have an image in the body that I really want to display diagonally, but without using Photoshop. I've attempted to achieve this effect by utilizing CSS3 properties like transform rotate.
However, I haven't been successful in getting the desired result yet.
If you'd like to take a look at what I've tried so far, here is the fiddle: Link
Below is the CSS code snippet that I've used:
.fullimg{
background:url('http://i.imgur.com/swudrIP.png') no-repeat fixed center;
-webkit-transform: rotate(15deg);
width: 100%;
height: 100%;
position:absolute;
}
My goal is to achieve a visual output similar to the following example CSS class:
.diagonal{
background:url('http://i.imgur.com/ugmhC7w.png?1') no-repeat fixed center;
width: 100%;
height: 100%;
position:absolute;
}
Thank you for your assistance,
Mahadevan