Skip to content

Instantly share code, notes, and snippets.

@anonymoussc
anonymoussc / README.md
Last active August 29, 2015 14:25
CSS3 transform skew

##CSS3 transform skew

The skew function The skew function is used to lean the element in one direction or another. The skew function parameters expect angles to be leaned, and values such as 45deg are valid.

We should use skewX() and skewY() only in order to skew around the respective axis by the angle passed as the parameter.

@anonymoussc
anonymoussc / README.md
Created July 26, 2015 23:39
CSS3 transform translate

##CSS3 transform translate

@anonymoussc
anonymoussc / README.md
Created July 27, 2015 05:19
Simple loading animation

##Simple loading animation

Simple loading animation using three divs that contain an animation. Each one filled by a black background color that increases the size from 0 to 20 px in height and width in a sequence. So, the first animation starts first, the second has a longer delay than the first one, and the third has more delay than the second one in an infinite loop.

@anonymoussc
anonymoussc / README.md
Created July 27, 2015 05:49
AngularJS ngShow fade animation

##AngularJS ngShow fade animation

In the CSS code, we declared an opacity transition to elements with the firstAnimationSample and ng-hide-add classes, or elements with the firstAnimationSample and ng-hide-remove classes.

We also added the firstAnimationSample class to the same element that has the ng-show directive attribute.

@anonymoussc
anonymoussc / README.md
Created July 27, 2015 06:01
AngularJS ngIf fade animation

##AngularJS ngIf fade animation

@anonymoussc
anonymoussc / README.md
Created July 27, 2015 06:12
AngularJS ngRepeat animation

##AngularJS ngRepeat animation

@anonymoussc
anonymoussc / README.md
Created July 29, 2015 07:52
AngularJS ngClass Animation

##AngularJS ngClass Animation

@anonymoussc
anonymoussc / README.md
Created August 2, 2015 14:51
AngularJS ngHide animation

##AngularJS ngHide animation

The ngShow directive uses the same convention; the only difference is that each directive has the opposite behavior for the model value. When the model is true , ngShow removes the ng-hide class and ngHide adds the ng-hide class

@anonymoussc
anonymoussc / README.md
Created August 2, 2015 15:41
AngularJS ngModel and form animation

##AngularJS ngModel and form animation

@anonymoussc
anonymoussc / README.md
Created August 6, 2015 22:51
AngularJS ngMessage and ngMessages animation

##AngularJS ngMessage and ngMessages animation

For the ngMessages directive, that is, the container of the ngMessage directives, we included an animation on ng-active-add that changes the container background color from white to red and ng-inactive-add that does the opposite, changing the background color from red to white.