Book Image

Sass and Compass Designer's Cookbook

By : Bass Jobsen, Stuart Robson
Book Image

Sass and Compass Designer's Cookbook

By: Bass Jobsen, Stuart Robson

Overview of this book

Sass and Compass Designer's Cookbook helps you to get most out of CSS3 and harness its benefits to create engaging and receptive applications. This book will help you develop faster and reduce the maintenance time for your web development projects by using Sass and Compass. You will learn how to use with CSS frameworks such as Bootstrap and Foundation and understand how to use other libraries of pre-built mixins. You will also learn setting up a development environment with Gulp. This book guides you through all the concepts and gives you practical examples for full understanding.
Table of Contents (23 chapters)
Sass and Compass Designer's Cookbook
About the Author
About the Reviewers

Customizing the buttons of your Ionic project

The compiled CSS code already contains many components and styles to build your mobile apps. The SCSS code compiles into predefined CSS classes for easy styling. Advanced Sass coders can also extend the code with custom code for more flexibility. In this recipe, you will learn how to create a custom button for your app.

Getting ready

Before starting, read the preceding Installing the Ionic Framework and Starting a new Ionic project using Sass recipes of this chapter first.

How to do it...

Use Sass to customize the button of your Ionic project by performing the following steps:

  1. Create a new Ionic app, as described in the Installing the Ionic Framework recipe of this chapter, by running the following command:

    ionic start recipe3
  2. The preceding command creates a new recipe2 folder in this directory. Then, run the following command in your console to set up Sass; also see the Starting a new Ionic project using Sass recipe of this chapter:

    ionic setup sass...