Adding a background CSS animation to the login page
Animation can also be completely done in CSS. In many cases, you will probably run into some interesting demos online and would like to incorporate the CSS-only code for animation. If the animation is not as critical to the user experience, you could just use to add additional effects to the app. CSS animation is great because you don't have to write JavaScript code to manage the animation and just leave the browser to process it.
In this section, you will build an app to show some floating squares in the background of your login page, as follows:

Getting ready
There is no need to test it in a physical device because CSS animation will work just fine in the Ionic app.
How to do it...
The following are the instructions:
- Create a new
BubbleLogin
app using theblank
template, as follows, and navigate to theBubbleLogin
folder:
$ ionic start BubbleLogin blank
$ cd BubbleLogin
- Open the
./src/pages/home/home.html
file and modify the content with the...