Skip to content

Commit

Permalink
[FEATURE] imageTextLink, add 9 hover effects (animatons) (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
myroslav321 authored and dmh committed Dec 26, 2016
1 parent 0c26b4b commit 8ec5c09
Show file tree
Hide file tree
Showing 5 changed files with 1,038 additions and 7 deletions.
1 change: 1 addition & 0 deletions dev/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
@import 'main/contentElements/carousel.js';
@import 'main/contentElements/parallax.js';
@import 'main/contentElements/sliderContainer.js';
@import 'main/contentElements/imageTextLink.js';

// plugins
@import 'main/plugins/news/newsCarousel.js';
Expand Down
15 changes: 15 additions & 0 deletions dev/js/main/contentElements/imageTextLink.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
(function($) {
'use strict';

// document load event
$(document).ready(function() {

var $paragraph = $('.js__img-text-link');

$paragraph.dotdotdot({
height: 60
});

});

})(jQuery);
Loading

0 comments on commit 8ec5c09

Please sign in to comment.