All Projects → ariona → Hover3d

ariona / Hover3d

Licence: mit
Simple jQuery plugin for 3d Hover effect

Projects that are alternatives of or similar to Hover3d

Ajaxfileupload
A jQuery plugin that simulates asynchronous file uploads.
Stars: ✭ 291 (-8.49%)
Mutual labels:  jquery
Validate
A simple jQuery plugin to validate forms.
Stars: ✭ 298 (-6.29%)
Mutual labels:  jquery
Customizer Custom Controls
WordPress Customizer Custom Controls
Stars: ✭ 311 (-2.2%)
Mutual labels:  jquery
Yan
使用Maven构建,整合Dubbo+Zookeeper+SpringMVC+Spring+MyBatis+Redis支持分布式的高效率便捷开发框架
Stars: ✭ 293 (-7.86%)
Mutual labels:  jquery
Hstardoc
My blogs write with markdown.
Stars: ✭ 297 (-6.6%)
Mutual labels:  jquery
Artdialog
经典的网页对话框组件
Stars: ✭ 3,110 (+877.99%)
Mutual labels:  jquery
Boston.gov D7
Once housed code for boston.gov. Have moved to Drupal 8 as of November 2019.
Stars: ✭ 290 (-8.81%)
Mutual labels:  jquery
Tweetie
Simple jQuery Twitter feed plugin
Stars: ✭ 314 (-1.26%)
Mutual labels:  jquery
Angular Slickgrid
Angular-Slickgrid is a wrapper of the lightning fast & customizable SlickGrid datagrid, it also includes multiple Styling Themes
Stars: ✭ 298 (-6.29%)
Mutual labels:  jquery
Manong Ssm
基于SSM框架的Java电商项目
Stars: ✭ 306 (-3.77%)
Mutual labels:  jquery
Windows 95 Ui Kit
💾 Windows 95 UI Kit made with Bootstrap 4 components
Stars: ✭ 294 (-7.55%)
Mutual labels:  jquery
Skitter
Skitter - Slideshow for anytime
Stars: ✭ 295 (-7.23%)
Mutual labels:  jquery
Waitme
jquery plugin for easy creating loading css3/images animations
Stars: ✭ 302 (-5.03%)
Mutual labels:  jquery
Estoque
Controle de estoque
Stars: ✭ 292 (-8.18%)
Mutual labels:  jquery
Tilt.js
A tiny 60+fps parallax tilt hover effect for jQuery.
Stars: ✭ 3,442 (+982.39%)
Mutual labels:  jquery
Texttailor.js
jQuery plugin, tailor made text to fill the height of the parent element or ellipse it if it doesn't fit
Stars: ✭ 291 (-8.49%)
Mutual labels:  jquery
Jquery Match Height
a responsive equal heights plugin
Stars: ✭ 3,100 (+874.84%)
Mutual labels:  jquery
Calendar
This library is a jQuery plugin for Bootstrap that lets you add a month calendar to your web page.
Stars: ✭ 315 (-0.94%)
Mutual labels:  jquery
Web
📚 从零开始学 Web 前端系列图文教程。从零基础开始,手把手教你进入前端开发的世界。公众号「前端队长」作者。
Stars: ✭ 313 (-1.57%)
Mutual labels:  jquery
Hulk
In-browser JSON editor
Stars: ✭ 302 (-5.03%)
Mutual labels:  jquery

jQuery Hover3d

Bower version

jQuery Hover3d is a simple hover script for creating 3d hover effect. It was my experiment on exploring CSS3 3d transform back in 2015 on Codepen 3D hover plane effect.

The idea is transforming the element into 3d space using CSS3 transform, playing with translateZ for spacing the elements, and detecting mouse movement to change the transform value

Demo

Check out the demo

Usage

Include jQuery, and jquery.hover3d.min.js within your HTML

HTML

<script src="jquery.min.js"></script>
<script src="jquery.hover3d.min.js"></script>

There is a minimal markup required, the element container and element that will be transformed into 3d card

<div class="project">
	<div class="project__card">
		<!-- Content element goes here -->
	</div>
</div>

CSS

There is no special CSS file to be included, you can write your own CSS and playing with transform on child elements. However there is helper class that will be added when hovering in and out.

/* This class can be replaced using options */
.hover-in{
	transition: .3s ease-out;
}
.hover-out{
	transition: .3s ease-in;
}

JS

Next step is init the plugin on .project and give the selector element that will be transformed, in this case it's project__card.

$(".project").hover3d({
	selector: ".project__card"
});

Options

Option Type Default Description
selector string null Selector for element that will be the 3d card
perspective integer 1000 Perspective value for 3d space
sensitivity integer 20 Mouse movement sensitivity, larger number is less sensitive
invert boolean false Default behavior is the element will follow the mouse, look like it facing the mouse
shine boolean false Add shining layer
hoverInClass string hover-in Helper class when mouse hover in the element, will be removed after 300ms
hoverOutClass string hover-out Helper class when mouse hover Out the element, will be removed after 300ms
hoverClass string hover-3d Helper class when the mouse is hovering the element

Compatibility

All browser that support 3d transform and perspective. You can check it on caniuse.com

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].