WEBLEB
Home
Editor
Accedi
Pro
Italiano
English
Français
Español
Português
Deutsch
Italiano
हिंदी
Effetto cornice fotografica CSS 3D per immagini
1005
ledoc
Apri nell'Editor
Pubblica il Tuo Codice
Consigliato
27 November 2024
Pagina di destinazione - Hotel
23 March 2025
Un codice di constantcc607
27 December 2024
Un codice di efficientfunction480
HTML
Copy
CSS
Copy
.photo-frame img { width: 400px; height: 300px; } .photo-frame { background-color: #FEFEFE; width: 400px; height: 300px; padding: 20px; box-shadow: 0px 0px 5px 0px #AAA; -moz-box-shadow: 0px 0px 5px 0px #AAA; -webkit-box-shadow: 0px 0px 5px 0px #AAA; transition: all 0.5s ease 0s; -ms-transition: all 0.5s ease 0s; -moz-transition: all 0.5s ease 0s; -webkit-transition: all 0.5s ease 0s; -o-transition: all 0.5s ease 0s; } .photo-frame:hover { box-shadow: 1px 1px 1px 0px #999, 2px 2px 1px 0px #888, 3px 3px 1px 0px #777, 4px 4px 1px 0px #666, 5px 5px 1px 0px #555, 6px 6px 1px 0px #444, 7px 7px 1px 0px #333, 8px 8px 3px 0px #303030; -moz-box-shadow: 1px 1px 1px 0px #999, 2px 2px 1px 0px #888, 3px 3px 1px 0px #777, 4px 4px 1px 0px #666, 5px 5px 1px 0px #555, 6px 6px 1px 0px #444, 7px 7px 1px 0px #333, 8px 8px 3px 0px #303030; -webkit-box-shadow: 1px 1px 1px 0px #999, 2px 2px 1px 0px #888, 3px 3px 1px 0px #777, 4px 4px 1px 0px #666, 5px 5px 1px 0px #555, 6px 6px 1px 0px #444, 7px 7px 1px 0px #333, 8px 8px 3px 0px #303030; transform: translate(-8px,-8px); -ms-transform: translate(-8px,-8px); -moz-transform: translate(-8px,-8px); -webkit-transform: translate(-8px,-8px); -o-transform: translate(-8px,-8px); }
JS
Copy
/* Replace with your JS Code (Leave empty if not needed) */