Skip to content

Instantly share code, notes, and snippets.

@stevepentler
Last active March 24, 2016 21:53
Show Gist options
  • Save stevepentler/34c53e3bb1f26ffd0b3b to your computer and use it in GitHub Desktop.
Save stevepentler/34c53e3bb1f26ffd0b3b to your computer and use it in GitHub Desktop.

(5) Intro

  • Why you should master styling, early
  • Pros/Cons of Materialize

(15) Good CSS vs Bad CSS with examples

(5) Uploading into Projects

(15) Documentation

(15+) Live example & Play Time

Bad Example 1

  • lots of inline styling
  • extremely verbose
  • poor use of classes

Bad Example 2

  • extremely specific stying with many ID's
  • hard to digest what is hitting what

Live Examples

Login with: [email protected] || Wisconsin

  • great use of classes
  • CSS is organized/split based on location
  • proper naming conventions

Uploading Materialize into Projects

Play Time with your personal project or my personal project

  1. Fork Paincaver
    1. Click FORK, please
    2. copy "the link"
    3. $ git clone "link"
  2. Command Line: $ bundle exec
  3. Command Line: $ rails s
  4. Visit localhost:3000, click on Login with Strava, login with username and password
  5. Open it in your editor
  6. Click Folder App
  7. Click Folder Views
  8. Click Folder Workouts
  9. Click _index_center.html.erb
  10. Play

I'm always up for styling - stevepentler on slack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment