CSC 486: HAML – Stylesheets

TL: DR

In my group, I have been working on the stylesheets for the project as I state in a post before click below to be taken that post.

Plains for Version 1

Below, I will explain the process of how layouts work in rails.

Layouts in rails are very similar to layouts in a normal web application the only exception is the file location. Layouts are located in the app/assets/layouts directory of a ruby on rails. In this directory, you should see a stylesheets.css file, theme directory, along with a few other files. All these files control the coloring, formatting of the View. In the example, we are going to look at the custom.scss. This file is pretty easy if you know CSS but if you don’t here have some resources below.

http://www.w3schools.com/css/ or https://www.codecademy.com/learn/web

Both these resources will help. Now, once you understand that you show be able to move on the next part. The part is in my following post. In the next post, I will explain how layouts work throughout our project and how that can help you.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s