Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animations widget #87

Open
lexoyo opened this issue Mar 1, 2014 · 4 comments
Open

Animations widget #87

lexoyo opened this issue Mar 1, 2014 · 4 comments
Labels

Comments

@lexoyo
Copy link
Member

lexoyo commented Mar 1, 2014

It is really easy to make things appear with an animation - images, texts, html boxes, containers. The available animations can be seen in action here.

First open SIlex.me in a browser, then create a new website and save it in a folder.

In this same folder, create a folder named "css".

Then download this file and place it in this "css" folder.

Back to Silex, open the HTML head editor (in the menu "< />") and paste this code anywhere.

<link href="./css/animate.min.css" rel="stylesheet">

It should look like this:

Then open the CSS script editor (in the menu "< />") and paste this code anywhere.

/* for firefox */
.paged-element-hidden.animated{
    animation-name: none !important;
}
/* */

silex css editor

Select an element and look at the properties tab, in "style" section, add the CSS classes animate__animated animate__fadeIn to the center of the section.

css classes of the selected element in silex

Then save the website and click the "eye" to preview it in a new window. You will see the fade in effect on the element.

You can also replace "animate__fadeIn" by one of many css classes to change the animation. You need to always keep the "animate__animated" css class.

Open this website and choose an animations. Then copy an animation "css classe" with the "copy" icon on the right and replace animate__fadeIn with this new css class. You need to always keep the "animate__animated" css class.

@lexoyo lexoyo added the widget label Mar 1, 2014
@lexoyo lexoyo mentioned this issue Mar 1, 2014
@lexoyo lexoyo added ready and removed ready labels Mar 20, 2014
@ceubri
Copy link

ceubri commented Apr 15, 2014

great !

@lexoyo
Copy link
Member Author

lexoyo commented Apr 15, 2014

@superwup has a template which shows all of them in Silex
Maybe we should share it

@ceubri
Copy link

ceubri commented Apr 15, 2014

miam miam ;)

@lexoyo lexoyo changed the title Animations Animations widget Jun 22, 2014
@lexoyo lexoyo removed the sticky label Apr 27, 2019
@lexoyo
Copy link
Member Author

lexoyo commented Jun 15, 2020

I just updated this widget with the latest version of animate.css

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants