 HTML, CSS, JavaScript – enormously successful  SASS has all the tools we need! INTRO.

Slides:



Advertisements
Similar presentations
Cascading Style Sheets By: Valerie Kuna. What are Cascading Style Sheets? Cascading Style Sheets (CSS) are a standard for specifying the presentation.
Advertisements

Recognizing the Benefits of Using CSS 1. The Evolution of CSS CSS was developed to standardize display information CSS was slow to be supported by browsers.
Class four: the box model and positioning. is an HTML tag which allows you to create an element out of inline text. It doesn’t mean anything! try it:
Tutorial 4: Creating page layout with css
Session Objectives Setting the font family Setting the font size Working with Web fonts Setting font faces and sizes Setting font and text appearances.
Stylin’ with CSS. 2 Topics What is CSS? Why CSS? CSS Examples.
CS4370/6370 Web Development Cascading Style Sheets (CSS)
Web Development & Design Foundations with HTML5
Basics of Web Design Chapter 6 More CSS Basics Key Concepts 1.
Text Properties, Line Box, CSS. Text Properties Properties related to the display of text. Text-align : left, right, center I like FSU!
Web Design & Development Cascading Style Sheets (CSS)
Beginning Web Site Creation: Dreamweaver CS4. XHTMLCSS  Describes the structure  Content  Collection of styles  Formatting body { background-color:
CSS Properties on Parade PropertyValid valuesExample font-familylist of fonts (separate with commas, end with generic font: serif, sans-serif, fantasy,
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 3 Key Concepts 1 Copyright © Terry Felke-Morris.
Formatting Text (Plus More Selectors) Learning Web Design: Chapter 12.
Kick It Up a Notch: Enhance your web page with Cascading Style Sheets Kathy Fletcher Manager, Training & Publications Support Services Office of Information.
CSS1-1 Cascading Style Sheets (CSS) Xingquan (Hill) Zhu
HIGHER COMPUTING CSS. WHAT IS CSS? CSS: Cascaded Style Sheets used to separate a web site’s content(information) from its style(how it looks).
Principles of Web Design 6 th Edition Chapter 4 – Cascading Style Sheets.
Cascading Style Sheets Billy Toy Cascading Style Sheets Syntax review How to Implement style sheets Background properties Text properties.
CSS Dvijesh Bhatt.
HTML - Quiz #2 Attendance CODE:
HTML/CSS Hyper Text Markup Language. CSS Cascading Style Sheets.
Cascading style sheets (CSS)
Tutorial #3 Cascading Style Sheets. Review: Last Class Image sizing Pathnames Project Default Path Relative Path Absolute Path Blackboard Homework Submission.
Cascading Style Sheets, pt 2 ECA 225 Applied Online Programming.
Cascading Style Sheets CSS. CSS - Structure Declaration block Property: identifies what to change Value: how to change it Selector – example h1{ font-size:
CSS in XHTML continued Please use speaker notes for additional information!
CSS Best Practices By Peter Funk 1. Web development since 1996 Senior Front-end web developer at Ancestry.com Proficient at CSS, HTML, and native JavaScript.
CIS67 Foundations for Creating Web Pages Professor Al Fichera Rev. September 14, 2010—All HTML code brought to XHTML standards. Reference for CIS127 and.
CSS My favourite ICT lesson By Federico Boschi Cascading Style Sheets.
Class three: CSS review, backgrounds, font formatting, the box model.
Tutorial #3 Cascading Style Sheets. Tutorial #2 Review - Anchors Links to Site DMACC Internal Links Go to Top Mail To me Local.
Cascading Style Sheets (css) HTML and css 2012 Brian Davison.
Introduction to CSS. What is CSS?  Cascading Style Sheets  Used for styling HTML  Also important in javascript and jquery for selectors  External.
COMP213 – Web Interface Design
CSS Cascading Style Sheets. CSS Advantages Greater typography and page layout control Style is separate from structure Styles can be stored in a separate.
HTML - Quiz #2 Attendance CODE:
Files you will need ... Black Goose Bistro Summer Menu
Lesson 03 // Cascading Style Sheets. CSS Stands for Cascading Style Sheets. We’ll be using a combination of Html and CSS to create websites. CSS is a.
Basics of Web Design Chapter 6 More CSS Basics Key Concepts.
Cascading Style Sheets Robin Burke ECT 270. Outline Midterm The Layout Debate CSS properties Fonts Alignment Color CSS selection selectors pseudo-classes.
Creating Your Own Webpage COSC Cascading Stylesheets Think of: HTML: content of your webpage HTML has tags CSS: presentation and appearance of your.
CSS WORKSHOP Design Principles for Web Standards.
SASS & LESS Syntactically Awesome StyleSheets Dynamic StyleSheet Language Svetlin Nakov Technical Trainer Software University
Cascading Style Sheets CSS.  Standard defined by the W3C  CSS1 (released 1996) 50 properties  CSS2 (released 1998) 150 properties (positioning)  CSS3.
Cascading Style Sheets Eugenia Fernandez IUPUI. CSS Purpose CSS allow you to specify the style in which your XML elements are displayed. CSS were originally.
3.2 Cascading Style Sheets. 2 Positioning Elements Normally, elements are laid out on the page in the order that they are defined in the XHTML document.
Microsoft Expression Web-Illustrated Unit F: Enhancing a Design with CSS.
Copyright © Osmosys O S M O S Y SO S M O S Y S D e p l o y i n g E x p e r i e n c e & E x p e r t i s e™ CSS Training.
Lecture 2: Cascading Style Sheets (CSS) Instructor: Dr. M. Anwar Hossain.
CSS properties Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan 1.
Cascading Style Sheets Primary readings Presentations Explain & review projects with class mates.
Web Design (14) CSS Formatting Text. Formatting Text In Brackets, go to your ‘externalcss’ website and find the ‘formattingtext’ page. Use the ‘main’
CSS Cascading Style Sheets *referenced from
Review First – on your own... Go to Day 5 Grab the contents of position review file Place in DW Add styles to recreate – get something close to
Cascading Style Sheet (CSS) SAMPLE IT133 Pengembangan Web.
Cascading Style Sheet Fix the Errors Lesson 4. / Pat Learner / h1, h2, h3, h4 { font-family: tahoma, arial, helvetica, sans-serif text-align: left; }.skyblue.
ECA 228 Internet/Intranet Design I Cascading Style Sheets.
Font-Family, Color and Background. Basics  CSS rule: Selector (multiple separated by, ) Declaration (multiple separated by ; ) Example: p { color: red;
PERSPECTIVES: TUTORIAL 4 CREATING PAGE LAYOUTS WITH CSS.
03 CSS (Cascading StyleSheet) Р.Жавхлан МОНГОЛ УЛСЫН ИХ СУРГУУЛЬ Мэдээллийн технологийн сургууль Интернэт технологийн үндэс 2015 Намар.
Chapter 11 & 12 CSS Style Sheets: Intro. Why CSS? Separate presentation from content – more accessible Less work – can change appearance of whole site.
JavaScript and Ajax (JavaScript Dynamic HTML (DHTML)) Week 7 Web site:
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 3 Introducing Cascading Style Sheets.
1 CS428 Web Engineering Lecture 07 Font, Text & Background (CSS - II)
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 10: Formatting Text with Styles.
Cascading Style Sheets Robin Burke ECT 270. Outline CSS properties Fonts Alignment Color CSS selection selectors.
CONFIGURING COLOR AND TEXT WITH CSS Chapter 3. Cascading Style Sheets (CSS) Used to configure text, color, and page layout. Launched in 1996 Developed.
Simple theme creation using Sass
Presentation transcript:

 HTML, CSS, JavaScript – enormously successful  SASS has all the tools we need! INTRO

WHAT IS SASS?

WHY SASS?

SASS SYNTAX -SCSS files use an.scss file extension -Indentation

SASS MISCONCEPTIONS

USING SASS *PRO TIP - DON’T EDIT YOUR OUTPUT!

NESTING NAMESPACED PROPERTIES header[role="banner"] h1 { padding: 15px 0; font: { size: 54px; family: Jubilat, Georgia, serif; weight: bold; } line-height: 1; } REFERENCING PARENT SELECTORS WITH & a { font-weight: bold; text-decoration: none; color: red; border-bottom: 2px solid red; &:hover { color: maroon; border-color: maroon; } *PRO TIP - Add a blank line before nested selectors!

VARIABLES $color-main: #333; $color-light: #999; $color-accent: #ea4c89; $font-sans: "Proxima Nova", "Helvetica Neue", Helvetica, Arial, sans-serif; $font-serif: Jubilat, Georgia, serif; body { padding: 0 8%; font-family: $font-sans; font-size: 100%; color: $color-main; background: #fff url(../img/bg.jpg) repeat-x -80% 0; }

MIXINS - - mixins allow you to define and reuse blocks of styles - they are like functions in other programming languages - with or without arguments *PRO TIP – Create another.SCSS file/s and import and merge them into a single file.

This is a positive alert!.alert { padding: 15px; font-size: 1.2em; font-weight: normal; text-transform: uppercase; line-height: 1; letter-spacing: 3px; text-align: center; color: #fff; background: shadow(0, 1px, 2px, rounded(10px); }.alert-positive background: #9c3; }

SASS AND MEDIA QUERIES SASS section.main { float: left; width: 65%; font-size: 16px; Line-height: screen and (max-width: 800px) { float: none; width: auto; screen and (max-width: 500px) { font-size: 12px; line-height: 1.4; } CSS section.main { float: left; width: 65%; font-size: 16px; line-height: 1.4; screen and (max-width: 800px) { section.main { float: none; width: auto; screen and (max-width: 500px) { section.main { font-size: 12px; line-height: 1.4; } compile to

THANK YOU FOR YOUR TIME