{"action":"created","issue":{"url":"https://api.github.com/repos/FCC-Las-Vegas/resources/issues/1","repository_url":"https://api.github.com/repos/FCC-Las-Vegas/resources","labels_url":"https://api.github.com/repos/FCC-Las-Vegas/resources/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/FCC-Las-Vegas/resources/issues/1/comments","events_url":"https://api.github.com/repos/FCC-Las-Vegas/resources/issues/1/events","html_url":"https://github.com/FCC-Las-Vegas/resources/issues/1","id":164986053,"number":1,"title":"Moving to SCSS from CSS","user":{"login":"149203","id":13108534,"avatar_url":"https://avatars.githubusercontent.com/u/13108534?v=3","gravatar_id":"","url":"https://api.github.com/users/149203","html_url":"https://github.com/149203","followers_url":"https://api.github.com/users/149203/followers","following_url":"https://api.github.com/users/149203/following{/other_user}","gists_url":"https://api.github.com/users/149203/gists{/gist_id}","starred_url":"https://api.github.com/users/149203/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/149203/subscriptions","organizations_url":"https://api.github.com/users/149203/orgs","repos_url":"https://api.github.com/users/149203/repos","events_url":"https://api.github.com/users/149203/events{/privacy}","received_events_url":"https://api.github.com/users/149203/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-12T03:21:07Z","updated_at":"2016-08-05T16:30:37Z","closed_at":null,"body":"We discussed this at the last meeting. Here's some simple starter links. If you want to try SCSS out right now, simply set the Codepen CSS Preprocessor to SCSS (found in CSS settings) and fire away. (If you're using another IDE, you'll have to look that up.) I recommend SCSS to start because you can put normal CSS code in a .scss file and it will work normally. So it's a good way to introduce some new things slowly. (SCSS stands for \"Sassy CSS\" btw!)\r\n\r\n[Learn SASS in 15 Minutes](http://tutorialzine.com/2016/01/learn-sass-in-15-minutes/)\r\n\r\n[Write Better Media Queries With SASS](https://davidwalsh.name/write-media-queries-sass)\r\n\r\n[Using media queries in Sass 3.2](http://thesassway.com/intermediate/responsive-web-design-in-sass-using-media-queries-in-sass-32)\r\n\r\n[Creating a Dead Simple Sass Mixin to Handle Responsive Breakpoints](https://medium.com/developing-with-sass/creating-a-dead-simple-sass-mixin-to-handle-responsive-breakpoints-889927b37740#.7ej35f8jk)\r\n\r\nThe above examples use functions in their use of breakpoints. But here I take an approach that is uglier up front but will be less code when implemented. e.g. `@include sm` is shorter and clearer than `@include bp(sm)`.\r\n\r\n```CSS\r\n@mixin sm {\r\n  @media (max-width: 479px) {\r\n    @content;\r\n  }\r\n}\r\n\r\n@mixin md {\r\n  @media (min-width: 480px) and (max-width: 719px) {\r\n    @content;\r\n  }\r\n}\r\n\r\n@mixin lg {\r\n  @media (min-width: 720px) and (max-width: 959px) {\r\n    @content;\r\n  }\r\n}\r\n\r\n@mixin xl {\r\n  @media (min-width: 960px) {\r\n    @content;\r\n  }\r\n}\r\n```\r\n\r\n```\r\n.test {\r\n  color: black;\r\n  @include sm {\r\n    color: blue;\r\n  }\r\n  @include md {\r\n    color: pink;\r\n  }\r\n  @include lg {\r\n    color: cyan;\r\n  }\r\n  @include xl {\r\n    color: green;\r\n  }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/FCC-Las-Vegas/resources/issues/comments/237897700","html_url":"https://github.com/FCC-Las-Vegas/resources/issues/1#issuecomment-237897700","issue_url":"https://api.github.com/repos/FCC-Las-Vegas/resources/issues/1","id":237897700,"user":{"login":"j7an","id":11568283,"avatar_url":"https://avatars.githubusercontent.com/u/11568283?v=3","gravatar_id":"","url":"https://api.github.com/users/j7an","html_url":"https://github.com/j7an","followers_url":"https://api.github.com/users/j7an/followers","following_url":"https://api.github.com/users/j7an/following{/other_user}","gists_url":"https://api.github.com/users/j7an/gists{/gist_id}","starred_url":"https://api.github.com/users/j7an/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j7an/subscriptions","organizations_url":"https://api.github.com/users/j7an/orgs","repos_url":"https://api.github.com/users/j7an/repos","events_url":"https://api.github.com/users/j7an/events{/privacy}","received_events_url":"https://api.github.com/users/j7an/received_events","type":"User","site_admin":false},"created_at":"2016-08-05T16:30:37Z","updated_at":"2016-08-05T16:30:37Z","body":"Thanks, there's also a video tutorial series for SASS on Youtube. Not sure if its teaching SCSS or the Ruby SASS syntax though: [SASS](https://www.youtube.com/watch?v=fbVD32w1oTo&list=PL2CB1F80266E986EA)"}}
{"actor":{"display_login":"j7an"}}