3D Style Image Thumbnails
We all know that image thumbnails are pretty boring until they have some neat hover effect on them, or some kind of jazzy animation before the user clicks on them.
So, here is a tutorial which uses CSS3 to achieve a 3D hover effect on the image thumbnails. It certainly looks neat. If you don’t believe me, read the tutorial and check out the demo yourself!
HTML
Make a new HTML file called index.html and copy the following code into it.
<!doctype html> <html> <head> <meta charset="utf-8"> <title>3d Thumbnails</title> <link href="thumbstyle.css" type="text/css" rel="stylesheet" /> </head> <body> <h1>3D Thumbnails</h1> <div class="container"> <div class="thumb"> <!-- Image --> <a href="#" class="image1"> <!-- Label --> <span>Friends Forever!</span> </a> </div> <div class="thumb"> <!-- Image --> <a href="#" class="image2"> <!-- Label --> <span>Smile Forever!</span> </a> </div> <div class="thumb"> <!-- Image --> <a href="#" class="image3"> <!-- Label --> <span>Angry Forever!</span> </a> </div> <div class="thumb"> <!-- Image --> <a href="#" class="image4"> <!-- Label --> <span>Happy Forever!</span> </a> </div> <div class="thumb"> <!-- Image --> <a href="#" class="image5"> <!-- Label --> <span>Batman Forever!</span> </a> </div> <div class="thumb"> <!-- Image --> <a href="#" class="image6"> <!-- Label --> <span>Wild Forever!</span> </a> </div> <div class="thumb"> <!-- Image --> <a href="#" class="image7"> <!-- Label --> <span>Cartoon Forever!</span> </a> </div> <div class="thumb"> <!-- Image --> <a href="#" class="image8"> <!-- Label --> <span>3D Forever!</span> </a> </div> <div class="thumb"> <!-- Image --> <a href="#" class="image9"> <!-- Label --> <span>Sad Forever!</span> </a> </div> <div class="thumb"> <!-- Image --> <a href="#" class="image10"> <!-- Label --> <span>Flying Forever!</span> </a> </div> <div class="thumb"> <!-- Image --> <a href="#" class="image11"> <!-- Label --> <span>Strong Forever!</span> </a> </div> <div class="thumb"> <!-- Image --> <a href="#" class="image12"> <!-- Label --> <span>Dragon Forever!</span> </a> </div> <div class="thumb"> <!-- Image --> <a href="#" class="image13"> <!-- Label --> <span>Monster Forever!</span> </a> </div> <div class="thumb"> <!-- Image --> <a href="#" class="image14"> <!-- Label --> <span>Nature Forever!</span> </a> </div> </div> </body> </html>
The above code is just plain HTML for image thumbnails. The core work is done through the CSS file.
CSS
Make a new CSS file and name it thumbstyle.css and save it in the same location as the above index.html file.
@import url(https://fonts.googleapis.com/css?family=Allan); /*basic reset*/ * {margin: 0; padding: 0;} /*forcing the body to take 100% height*/ html, body {min-height: 100%;} /*a nice BG*/ body { background: #360; /*fallback*/ background: linear-gradient( #09C, #06C); } h1 {font-family:Allan; text-align:center; font-size:60px; color:#FFF; margin:20px; text-shadow:1px 1px #333;} .container {width:100%; margin:30px auto 30px 30px;} /*Thumbnail Background*/ .thumb { width: 200px; height: 200px; margin:30px; perspective: 1000px; -webkit-perspective:1000px; float:left; } .thumb a { display: block; width: 100%; height: 100%; transform-style: preserve-3d; -ms-transform-style:preserve-3d; -moz-transform-style: preserve-3d; -webkit-transform-style: preserve-3d; -o-transform-style: preserve-3d; -webkit-transition:all .50s; -moz-transition:all .50s; -o-transition:all .50s; transition:all .50s; } .thumb:hover a {transform: rotateX(80deg); -webkit-transform:rotateX(80deg); -ms-transform:rotateX(80deg); -moz-transform:rotateX(80deg); -o-transform:rotateX(80deg); transform-origin: bottom; -webkit-transform-origin:bottom;} /*bottom surface */ .thumb a:after { /*36px high element positioned at the bottom of the image*/ content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 36px; /*inherit the main BG*/ background: rgba(0,0,0,0.8); background-size: cover, cover; /*draw the BG bottom up*/ background-position: bottom; /*rotate the surface 90deg on the bottom axis*/ transform: rotateX(90deg); -webkit-transform:rotateX(90deg); -ms-transform:rotateX(90deg); -moz-transform:rotateX(90deg); -o-transform:rotateX(90deg); transform-origin: bottom;-webkit-transform-origin:bottom; } /*label style*/ .thumb a span { color: #fff; text-transform: uppercase; position: absolute; top: 100%; left: 0; width: 100%; font: 22px Allan; text-align: center; padding-top:5px; /*the rotation is a bit less than the bottom surface to avoid flickering*/ transform: rotateX(-89.99deg); -webkit-transform:rotateX(-89.99deg); -ms-transform:rotateX(-89.99deg); -moz-transform:rotateX(-89.99deg); -o-transform:rotateX(-89.99deg);transform-origin: top;-webkit-transform-origin:top; z-index: 1; } /*shadow*/ .thumb a:before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); box-shadow: 0 0 100px 50px rgba(0, 0, 0, 0.6); transition: all 0.5s; /*by default the shadow will be almost flat, very transparent, scaled down with a large blur*/ opacity: 0.15; transform: rotateX(95deg) translateZ(-80px) scale(0.75); -webkit-transform: rotateX(95deg) translateZ(-80px) scale(0.75); -ms-transform: rotateX(95deg) translateZ(-80px) scale(0.75); -moz-transform: rotateX(95deg) translateZ(-80px) scale(0.75); -o-transform: rotateX(95deg) translateZ(-80px) scale(0.75); transform-origin: bottom;-webkit-transform-origin:bottom; } .thumb:hover a:before { opacity: 1; /*blurred effect using box shadow as filter: blur is not supported in all browsers*/ box-shadow: 0 0 25px 25px rgba(0, 0, 0, 0.5); /*pushing the shadow down and scaling it down to size*/ transform: rotateX(0) translateZ(-60px) scale(0.85); -webkit-transform: rotateX(0) translateZ(-60px) scale(0.85); -ms-transform: rotateX(0) translateZ(-60px) scale(0.85); -moz-transform: rotateX(0) translateZ(-60px) scale(0.85); -o-transform: rotateX(0) translateZ(-60px) scale(0.85); } .thumb a.image1 {background: url(https://d13yacurqjgara.cloudfront.net/users/10562/screenshots/872407/marceline_dribble.jpg) center; background-size:cover;} .thumb a.image2 {background: url(https://d13yacurqjgara.cloudfront.net/users/33320/screenshots/482481/3d_face.jpg) center; background-size:cover;} .thumb a.image3 {background: url(https://d13yacurqjgara.cloudfront.net/users/33320/screenshots/951112/cartman.png) center; background-size:cover;} .thumb a.image4 {background: url(https://d13yacurqjgara.cloudfront.net/users/4467/screenshots/661196/sasquatch-troop-full.jpg) center; background-size:cover;} .thumb a.image5 {background: url(https://d13yacurqjgara.cloudfront.net/users/40016/screenshots/1358207/bats_1x.png) center; background-size:cover;} .thumb a.image6 {background: url(https://d13yacurqjgara.cloudfront.net/users/4467/screenshots/304344/tony-the-tiger.jpg) center; background-size:cover;} .thumb a.image7 {background: url(https://d13yacurqjgara.cloudfront.net/users/10562/screenshots/258839/the_flintstones_dribble.jpg) center; background-size:cover;} .thumb a.image8 {background: url(https://d13yacurqjgara.cloudfront.net/users/113424/screenshots/709032/dr1.png) center; background-size:cover;} .thumb a.image9 {background: url(https://d13yacurqjgara.cloudfront.net/users/35950/screenshots/1143200/redhead_1x.jpg) center; background-size:cover;} .thumb a.image10 {background: url(https://d13yacurqjgara.cloudfront.net/users/4767/screenshots/137253/shot_1301072406.png) center; background-size:cover;} .thumb a.image11 {background: url(https://d13yacurqjgara.cloudfront.net/users/4767/screenshots/1090838/warrior_1x.png) center; background-size:cover;} .thumb a.image12 {background: url(https://d13yacurqjgara.cloudfront.net/users/4767/screenshots/454459/dragon.png) center; background-size:cover;} .thumb a.image13 {background: url(https://d13yacurqjgara.cloudfront.net/users/67884/screenshots/1117880/ahhhh_monster__1x.jpg) center; background-size:cover;} .thumb a.image14 {background: url(https://d13yacurqjgara.cloudfront.net/users/2404/screenshots/24018/shot_1275616378.jpg) center; background-size:cover;}
To add or delete images, just edit the .thumb a.image class in the CSS file.
Demo & Files
Here is the working demo and link to the files that you can download :-
Dornaweb
I liked it very much
???? ????
It was very nice
http://www.mignet.ae
It was so informative tutorial. thanks! rubber kneader
This feature also automatically suggests routes and designs the most suitable route when users find the way. Thereby, the user can avoid the traffic jam at the present time, to avoid losing time while moving driving directions
.
What would I do without this helpful cuteness???
http://www.lansingfencecompany.com
???? ??? ??
Trust the hibernation of lessig wont take too long can’t wait to see lessig kickstart again fakaza feel bad about Grids for Instagram.
Thank you all!
All over the world a lot of people also visits this type of site to select the word press theme to create their own site easily because it’s really easy to make as compared to the custom sites as a wp developer also complete the Nursing Assignment writing website Uk and that’s one of the best experiences in the academic projects.
Can you take my online class? Sure! All you have to do is tell us “do my online class for me” and get the best online class help easily!
hello
That’s a great way to create 3D images. I would like to recommend an excellent web developer and IT consultant. https://helpdeskheroes.co.uk/
Thank you for the information about schema implementations in word-press
geometry dash
Livin’ in a world where no one’s innocent Oh, but at least we try, mmm Gotta live my truth, not keep it bottled in So I don’t lose my mind, baby, yeah.
I want to these thumbnails for my name image but I often use HTML for my working. I have to market and this coding HTML is used for getting a link as I am using here.
cheap dissertation writing service
HELLO There
I really like the always-on option. Upgrading from the original Apple Watch. It’s going to be a huge bounce in performance and functionality. Get Essay Help UK
Along these lines, here is an instructional exercise that utilizes CSS3 to accomplish a 3D drift impact on the picture thumbnails. It positively looks flawless. On the off chance that you don’t trust me, read the instructional exercise and look at the demo yourself!
Cheap Content Writing Services
You completed a few fine points there. They will learn about this and Subway Surfers is an endless runner mobile game.
This 3D Style Image Thumbnails help me out. This is very useful I had tried this for my website affordable SEO USA to change its style.
You completed a few fine points there. They will learn about this andinstagram >is an endless runner mobile game.
This css effects can use every developer, very easy to implement only use css3 code. you can check the live demo or also available source code please download and modify this code and use it more often especially on the situations you need small sized hubs.
http://www.portlandconcretepros.solutions/
Digital Graphiks is a leading company that offers premium web design services in Dubai. Our creative designers have the ability to make your website appealing.Web Design Dubai Price
Html is the simple language used to jot down net pages on the world wide internet. It became invented by means of Tim Burners Lee in 1990. Besides internet pages, Html is likewise utilized in laptop pc software program, CD-Roms, ebooks, and different locations. My web design dubai company create some projects in HTML.
3d image Hover effects use only CSS features, Like a 3D Animatio and pseudo-elements use, in order to create beautiful 3d effects and to Show captions on the bottom. The looks and feel of a website and use it on your website.
If you want to more batter information then you can visit here. i am also here lot’s of css tutorial for website uses. my recent tutorial you can also check how to create CSS text animation.http://www.melbourneofficemovers.com.au/perthofficeremovalists.html
This css effects can use every developer, very easy to implement only use css3 code. you can check the live demo or also available source code please download and modify this code and use it
Great Work! And thank you for your effort giving up nice themes! I would like to know if I am allowed to rename the theme and make changes on the code giving up my style and brand new names on it. shower tile installation
Many thanks approving towards the great data. Purely nondiscriminatory when upwards! http://www.orlandotreesolutions.com/lakemary
cool, this take cares one of my needs. https://www.procarpetcleaningorlando.com/hunterscreek
In our Graphic Design class, my teacher introduce me about this 3D image design. This is very nice and enjoy ! Thanks. atlanticsigncompany.com/
I definitely enjoyed every bit of it and I have you bookmarked your blog to check out the new stuff you post in the future. loss prevention
Great job.
3D is getting more widespread so they manufacture more sturdy varieties but the paper ones are the most common and least expensive. Pakistan Independence Day
Trust the hibernation of lessig wont take too long can’t wait to see lessig kickstart again fakaza feel bad about this
I did enjoyed reading this content; I am bookmarking your blog and definitely will come back again. Concrete Sealing
Always want to learn about 3D Style Image Thumbnails.Thank you for sharing,
Huagong Innovation Technology Co.,Ltd.HGIT is a professional provider of polyurethane automatic equipment and sealing system solutions.The company is located in the beautiful coastal city —Dalian. HGIT equipment of Huagong has a number of independent intellectual property rights,and also has the features of stable,secure,reliable etc. E-mail?hgcx@vip.163.com,info@hgcx.cn TEL? +86-411-39525022 FAX? +86-411-39525009 Website?http://www.hgcx.cn/en foaming machine CNC PU Seal Pouring Machine Foam sealing gasket machine Injection (Potting) Machine barrier-strip foam technique Spraying cementing machine Foam sealing machine (FIPFG) PU gasket sealing machine Warm Edge Spacer Forming Machine
Great tutorial and easy to follow, thanks for sharing.
Regards
Suncode – IT Support London
http://www.suncode.co.uk
Great Article–thanks
Interesting! Do you have an example on your site anywhere
– Shea from Conosco IT Support, http://www.conosco.com
HI,
Just curious. Would these 3D images be mobile responsive as well?
Thanks
Burhani – Managed IT Services
http://www.burhani.co
HGIT is the professional manufacturer for two axis foam sealing machine, this machine can be used in Filter, cabinet, lighting, battery, etc.
German Beckhoff dispensing operation system. Operation interface is indicated in both Chinese and English; if there is any need, other languages can be added. The system boasts functions such as false operation reminding, idiot-proof protection, overpressure alarming, temperature alarming and low material level reminding.
When operating the human-machine interface, the operator only needs to enter commands in the interface such as “Confirm” and “Start” for loading and unloading of workpieces, and then the equipment can automatically complete the required function operations.
The control system is CNC2013 control system independently researched and developed by the Company. It can control multiple axes simultaneously and control dispensing speed and glue flow, with multi-formula storage function, pressure alarming function, etc. which makes it safer and user-friendly.
The dispensing valve and mixer match with each other well, easy to operate and convenient for maintenance.
Two components metering pump can choose Domestic pump or Germany pump according to customer demand
http://www.hgcx.cn/en/index.php?p=product_show&id=223&c_id=34&o_id=&lanmu=12
I THINK THIS WILL BE SO MUCH SLOW SITE ! DO YOU AGREE WITH ME ?
3D IN SITE ATT ALL HAVE PROBLEM !!!!
great .thank you
Thanks a lot, I really likes this tutorial.
i like your article
Great pictures and images. Visit our site for some IT support services http://www.prosyn.co.uk
good picture
hello dear, thanks for tutorial. i like and using 3D style image Thumbnails
hello dear, thanks for tutorial. i like you article about using 3d style image thumbnails
thank you
az kald? bu html sisteminide ö?renecem
One word: awesome
Super awesome thumbnail style…
Very nice. It is great to see local theme developer.
Hello Namaste Ji !
THANKS for Your design job and for your friend !
Very Nice !
Good Luck for you and this web-project!
Leon from Ukraine
very nice tutorial
https://sanxinbio.com/resveratrol-powder/
nice effect …
i use it in my clients projects …
thanks
wow. very good
I need to use !