NewUser
NewUser

Reputation: 13333

Styling HTML page using SASS and COMPASS

I have installed SASS and COMPASS using this blog.when I am using compass create my_test_project, it is making a new folder with name my_test_project.When I am going to access the folder using browser it is showing the css files.No HTML file can be seen there.So can some one tell me how to use HTML page there where I can use SASS to style them.I am just a newbie to the SASS so any help and suggestions will be highly apprecable.

Upvotes: 0

Views: 1555

Answers (1)

Rito
Rito

Reputation: 5203

Sass/Compass is a tool to make the creation of CSS easier not to create HTML. You can create a HTML file inside your my_test_project folder and add a reference to css files which were created by sass/compass.

e.g.

<head>
  <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" />
  <link href="/stylesheets/print.css" media="print" rel="stylesheet" type="text/css" />
  <!--[if IE]>
      <link href="/stylesheets/ie.css" media="screen, projection" rel="stylesheet" type="text/css" />
  <![endif]-->
</head>

Compass help

Compass tutorials

Sass Reference

Upvotes: 1

Related Questions