SlideShare une entreprise Scribd logo
1  sur  24
CSS with
superpowers
By @flaviaza
Agenda
1. How we’ll have fun today
2. Why scss will make you happy
3. Bootstrap is your best friend
4. Lets install the ingredients
5. Get in that bowl!
1. Where is the fun?
• We’ll work in teams
• We’ll play a game
(winners will enjoy delicious cookies
and get some geeky stickers)
Rules for teams
• 3-5 members
• At least 1 member of 2 different IL
teams (sharks, avengers, ux)
So... where is my cookie?
• You win by being a good mate and
sharing your knowledge. EASY as it
sounds
• Your team wins by building the coolest
project!
(team prizes will be given at the team activity organized
by Tony )
2. Don’t worry, be
sassy
Interpreted language
that spits CSS
But...
Sass or Scss??
I’m lazy. I don’t want
to type everything
over and over.
SASS: An extension of CSS
h1 small, h2 small, h3 small,
h4 small, h5 small, h6 small,
.h1 small, .h2 small, .h3 small,
.h4 small, .h5 small, .h6 small,
h1 .small, h2 .small, h3 .small,
h4 .small, h5 .small, h6 .small,
.h1 .small, .h2 .small, .h3 .small,
.h4 .small, .h5 .small, .h6 .small {
font-weight: normal;
line-height: 1;
color: #777;
}
h1, h2, h3, h4, h5, h6,.h1, .h2, .h3,
.h4, .h5, .h6 {
small, .small {
font-weight: normal;
line-height: 1;
color: $headings-sm-
color;
}
}
Plane CSS Awesomely with SCSS
Meww...
NEZTING!!
SASS: An extension of CSS
CSS is pretty simple,
no programmatic
language at all.
.folders-tree ul li>.tree-item{padding-left:15px}
.folders-tree ul ul li>.tree-item{padding-left:30px}
.folders-tree ul li .folder-new{padding-left:40px}
.folders-tree ul ul ul li>.tree-item{…}
.folders-tree ul ul li .folder-new{…}
.folders-tree ul ul ul ul li>.tree-item{…}
.folders-tree ul ul ul li .folder-new{…}
.folders-tree ul ul ul ul ul li>.tree-item{…}
.folders-tree ul ul ul ul li .folder-new{…}
.folders-tree ul ul ul ul ul ul li>.tree-item{…}
.folders-tree ul ul ul ul ul li .folder-new{…}
.folders-tree ul ul ul ul ul ul ul li>.tree-item{…}
.folders-tree ul ul ul ul ul ul li .folder-new{…}
.folders-tree ul ul ul ul ul ul ul ul li>.tree-
item{…}
.folders-tree ul ul ul ul ul ul ul li .folder-new{…}
.folders-tree ul ul ul ul ul ul ul ul ul li>.tree-
item{…}
.folders-tree ul ul ul ul ul ul ul ul li .folder-
new{…}
…
@for $i from 1 through 10 {
$nested_ul: $nested_ul + "ul ”;
#{$nested_ul}li > .tree-item {
padding-left: $i * $indent-
initial;
}
@if $i != 1 {
$form_ul: $form_ul + "ul ”;
#{$form_ul}li .folder-new {
padding-left: $i * $indent;
}
}
}
Plane CSS Awesomely with SCSS
SASS: An extension of CSS
CSS is pretty dumb, it
makes you repeat
things over and over.
.btn-default {
color: #333;
background-color: #fff;
border-color: #ccc;
}
.btn-default:focus,
.btn-default.focus {
color: #333;
background-color: #e6e6e6;
border-color: #8c8c8c;
}
.btn-default:hover {
color: #333;
...
.btn-default {
@include button-variant($btn-
default-color, $btn-default-bg, $btn-
default-border);
}
-----------------------------------
@mixin button-variant($color,
$background, $border) {
color: $color;
background-color: $background;
border-color: $border;
...
Plane CSS Awesomely with SCSS
SASS: An extension of CSS
• In large projects is sooo
easy to screw it with plane
CSS.
• With a pre-processor is easier to read
and work with, scale and maintain.
Don’t you agree?
Meww
SASS: An extension of CSS
• Fully CSS-compatible
• Language extensions such as variables,
nesting, and mixins
• Many useful functions for manipulating colors
and other values
• Advanced features like control directives for
libraries
• Well-formatted, customizable output
But I’m ztill
lazy...
It’s chock full of the
web’s best reusable
patterns.
Nice...
Less work to do
But But...
Still a lot of work
to do!
3. Bootstrap!
HTML, CSS, and JS
framework for
developing responsive,
mobile first projects on
the web
Yeah...
We have our own
JS framework
And what about
quality,
standards, scale
and working in
large teams?
Keep your code
clean and
readable
4. Getting ready
1. Clone the repo
2. Install Ruby, npm, grunt
3. Install Sass, compass, scss_lint gems
4. Run npm install
5. Get bootstrap-sass git submodule: Go
to assets/core/ and run git
submodule init && git submodule
update
Ready?
Lets take a look at
- Repository structure
- ITCSS
- Patterns and best
practices
5. Get in that
bowl!
• Covers wireframe requirements and
have a cool design and meaningful
content.
• Passes w3c markup validation
• Passes scss-lint validation
• Passes accessibility validation
• Follows bootstrap patterns
• Can be comfortably navigated with the
screen reader
• Have and use a new (css) component,
mixin, function and placeholder
• Have at least one commit of each
member of the team
• Have a clean commit log and no merge
commits -except for pull requests
merges- (muahaha..)
Create a responsive webpage that:
Wireframes
5. Awards categories
• Best design and UX
• Best and valid code
• Best use of Bootstrap and
itcss
• Best accessibility
• Cleanest git log
• If time there will be a demo of what was
done at the end of today’s session.
• Final presentation must be done by the
end of next Wednesday
• Winners will be announced by the end
of next week.
Css on-steroids

Contenu connexe

En vedette

老成的Sass&Compass
老成的Sass&Compass老成的Sass&Compass
老成的Sass&Compass智遠 成
 
Getting Started with Sass & Compass
Getting Started with Sass & CompassGetting Started with Sass & Compass
Getting Started with Sass & CompassRob Davarnia
 
Save time by using SASS/SCSS
Save time by using SASS/SCSSSave time by using SASS/SCSS
Save time by using SASS/SCSSBerit Hlubek
 
Introduction to SASS
Introduction to SASSIntroduction to SASS
Introduction to SASSJon Dean
 
Learn Sass and Compass quick
Learn Sass and Compass quickLearn Sass and Compass quick
Learn Sass and Compass quickBilly Shih
 
Sass and compass workshop
Sass and compass workshopSass and compass workshop
Sass and compass workshopShaho Toofani
 
Horario de clases segundo grado
Horario de clases segundo gradoHorario de clases segundo grado
Horario de clases segundo gradoEverardo Diaz Diaz
 

En vedette (9)

老成的Sass&Compass
老成的Sass&Compass老成的Sass&Compass
老成的Sass&Compass
 
Getting Started with Sass & Compass
Getting Started with Sass & CompassGetting Started with Sass & Compass
Getting Started with Sass & Compass
 
Sass(SCSS)について
Sass(SCSS)についてSass(SCSS)について
Sass(SCSS)について
 
Save time by using SASS/SCSS
Save time by using SASS/SCSSSave time by using SASS/SCSS
Save time by using SASS/SCSS
 
Introduction to SASS
Introduction to SASSIntroduction to SASS
Introduction to SASS
 
Learn Sass and Compass quick
Learn Sass and Compass quickLearn Sass and Compass quick
Learn Sass and Compass quick
 
Sass and compass workshop
Sass and compass workshopSass and compass workshop
Sass and compass workshop
 
Horario de clases segundo grado
Horario de clases segundo gradoHorario de clases segundo grado
Horario de clases segundo grado
 
Sass
SassSass
Sass
 

Dernier

%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benonimasabamasaba
 
tonesoftg
tonesoftgtonesoftg
tonesoftglanshi9
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in sowetomasabamasaba
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...masabamasaba
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...masabamasaba
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park masabamasaba
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburgmasabamasaba
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024VictoriaMetrics
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...Jittipong Loespradit
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...masabamasaba
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2
 

Dernier (20)

%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 

Css on-steroids

  • 2. Agenda 1. How we’ll have fun today 2. Why scss will make you happy 3. Bootstrap is your best friend 4. Lets install the ingredients 5. Get in that bowl!
  • 3. 1. Where is the fun? • We’ll work in teams • We’ll play a game (winners will enjoy delicious cookies and get some geeky stickers)
  • 4. Rules for teams • 3-5 members • At least 1 member of 2 different IL teams (sharks, avengers, ux)
  • 5. So... where is my cookie? • You win by being a good mate and sharing your knowledge. EASY as it sounds • Your team wins by building the coolest project! (team prizes will be given at the team activity organized by Tony )
  • 6. 2. Don’t worry, be sassy
  • 7. Interpreted language that spits CSS But... Sass or Scss??
  • 8. I’m lazy. I don’t want to type everything over and over. SASS: An extension of CSS h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small, h1 .small, h2 .small, h3 .small, h4 .small, h5 .small, h6 .small, .h1 .small, .h2 .small, .h3 .small, .h4 .small, .h5 .small, .h6 .small { font-weight: normal; line-height: 1; color: #777; } h1, h2, h3, h4, h5, h6,.h1, .h2, .h3, .h4, .h5, .h6 { small, .small { font-weight: normal; line-height: 1; color: $headings-sm- color; } } Plane CSS Awesomely with SCSS Meww... NEZTING!!
  • 9. SASS: An extension of CSS CSS is pretty simple, no programmatic language at all. .folders-tree ul li>.tree-item{padding-left:15px} .folders-tree ul ul li>.tree-item{padding-left:30px} .folders-tree ul li .folder-new{padding-left:40px} .folders-tree ul ul ul li>.tree-item{…} .folders-tree ul ul li .folder-new{…} .folders-tree ul ul ul ul li>.tree-item{…} .folders-tree ul ul ul li .folder-new{…} .folders-tree ul ul ul ul ul li>.tree-item{…} .folders-tree ul ul ul ul li .folder-new{…} .folders-tree ul ul ul ul ul ul li>.tree-item{…} .folders-tree ul ul ul ul ul li .folder-new{…} .folders-tree ul ul ul ul ul ul ul li>.tree-item{…} .folders-tree ul ul ul ul ul ul li .folder-new{…} .folders-tree ul ul ul ul ul ul ul ul li>.tree- item{…} .folders-tree ul ul ul ul ul ul ul li .folder-new{…} .folders-tree ul ul ul ul ul ul ul ul ul li>.tree- item{…} .folders-tree ul ul ul ul ul ul ul ul li .folder- new{…} … @for $i from 1 through 10 { $nested_ul: $nested_ul + "ul ”; #{$nested_ul}li > .tree-item { padding-left: $i * $indent- initial; } @if $i != 1 { $form_ul: $form_ul + "ul ”; #{$form_ul}li .folder-new { padding-left: $i * $indent; } } } Plane CSS Awesomely with SCSS
  • 10. SASS: An extension of CSS CSS is pretty dumb, it makes you repeat things over and over. .btn-default { color: #333; background-color: #fff; border-color: #ccc; } .btn-default:focus, .btn-default.focus { color: #333; background-color: #e6e6e6; border-color: #8c8c8c; } .btn-default:hover { color: #333; ... .btn-default { @include button-variant($btn- default-color, $btn-default-bg, $btn- default-border); } ----------------------------------- @mixin button-variant($color, $background, $border) { color: $color; background-color: $background; border-color: $border; ... Plane CSS Awesomely with SCSS
  • 11. SASS: An extension of CSS • In large projects is sooo easy to screw it with plane CSS. • With a pre-processor is easier to read and work with, scale and maintain. Don’t you agree? Meww
  • 12. SASS: An extension of CSS • Fully CSS-compatible • Language extensions such as variables, nesting, and mixins • Many useful functions for manipulating colors and other values • Advanced features like control directives for libraries • Well-formatted, customizable output
  • 14. It’s chock full of the web’s best reusable patterns. Nice... Less work to do
  • 15. But But... Still a lot of work to do!
  • 16. 3. Bootstrap! HTML, CSS, and JS framework for developing responsive, mobile first projects on the web Yeah... We have our own JS framework
  • 17. And what about quality, standards, scale and working in large teams?
  • 18. Keep your code clean and readable
  • 19. 4. Getting ready 1. Clone the repo 2. Install Ruby, npm, grunt 3. Install Sass, compass, scss_lint gems 4. Run npm install 5. Get bootstrap-sass git submodule: Go to assets/core/ and run git submodule init && git submodule update
  • 20. Ready? Lets take a look at - Repository structure - ITCSS - Patterns and best practices
  • 21. 5. Get in that bowl! • Covers wireframe requirements and have a cool design and meaningful content. • Passes w3c markup validation • Passes scss-lint validation • Passes accessibility validation • Follows bootstrap patterns • Can be comfortably navigated with the screen reader • Have and use a new (css) component, mixin, function and placeholder • Have at least one commit of each member of the team • Have a clean commit log and no merge commits -except for pull requests merges- (muahaha..) Create a responsive webpage that:
  • 23. 5. Awards categories • Best design and UX • Best and valid code • Best use of Bootstrap and itcss • Best accessibility • Cleanest git log • If time there will be a demo of what was done at the end of today’s session. • Final presentation must be done by the end of next Wednesday • Winners will be announced by the end of next week.

Notes de l'éditeur

  1. Image: http://www.easyfreepatterns.com/download-pattern.php?id=185818
  2. Introduce the wall of wizzards!
  3. http://thesassway.com/editorial/sass-vs-scss-which-syntax-is-better Sass >> syntactically awesome style sheets Scss >> sassy css Syntax was radically different from css  hight curve of learning V3 of sass >> Scss uses the same syntax as css, then css is expanded by scss by adding tools like variables mixins functions…. Sass was born as a brother of Haml (HTML abstraction markup language), based on one primary principle: markup should be beautiful.
  4. https://github.com/twbs/bootstrap-sass/blob/master/assets/stylesheets/bootstrap/_type.scss
  5. https://nex.intralinkslabs.com https://nexdev.intralinkslabs.com
  6. https://github.com/twbs/bootstrap/blob/master/dist/css/bootstrap.css#L3059 https://github.com/twbs/bootstrap-sass/blob/master/assets/stylesheets/bootstrap/mixins/_buttons.scss#L6 https://github.com/twbs/bootstrap-sass/blob/master/assets/stylesheets/bootstrap/_buttons.scss#L68
  7. http://sass-lang.com/guide http://sass-lang.com/documentation/file.SASS_REFERENCE.html
  8. Show compass documentation http://compass-style.org/ http://compass-style.org/reference/compass/
  9. Show documentation http://getbootstrap.com/
  10. Code quality Git Project structure https://confluence.intralinks.com/pages/viewpage.action?spaceKey=DEV&title=2.+Intralinks+code+standards Will cover that while installing the environment
  11. https://github.com/brigade/scss-lint/blob/master/lib/scss_lint/linter/README.md
  12. https://stash.intralinks.com/projects/CSST/repos/css-hackathon/browse
  13. https://confluence.intralinks.com/display/DEV/Intralinks+CSS+-+Draft#IntralinksCSS-Draft-ITCSS https://confluence.intralinks.com/pages/viewpage.action?spaceKey=DEV&title=2.+Intralinks+code+standards How to customize a vendor
  14. http://www.sketchappsources.com/free-source/1884-responsive-wireframe-template-sketch-freebie-resource.html
  15. https://youtu.be/QH2-TGUlwu4
  16. https://youtu.be/9bZkp7q19f0?t=4s Thanks for your help pusheen cat!