Jeremy Foster Michael Palermo

Slides:



Advertisements
Similar presentations
Table (TABLE) Contains TABLE ROWS (TR) Contains TABLE DATA (TD) Data can contain anything Text Lists Other tables Pictures …
Advertisements

Week 10 Creating Positioned Layouts
Cascading Style Sheets Basics. Why use Cascading Style Sheets? Allows you to set up a series of rules for all pages in a site. The series may be changed.
CSS level 3. History of CSS CSS level 1 – original CSS CSS level 2 CSS level 2 Revision 1 (CSS2.1) – up to CSS2.1 monolithic structure CSS level 3 – specification.
1 Pengantar Teknologi Internet W03: CSS Cascading Style Sheets.
CIS 1310 – HTML & CSS 6 Layout. CIS 1310 – HTML & CSS Learning Outcomes  Describe & Apply the CSS Box Model  Configure Float with CSS  Designate Positioning.
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.
1/18 ITApplications XML Module Session 5: Extensible Stylesheet Language (XSL)
Tutorial 6 Creating Fixed-Width Layouts
XP 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
Working with Cascading Style Sheets. 2 Objectives Introducing Cascading Style Sheets Using Inline Styles Using Embedded Styles Using an External Style.
1 The Structure of a Web Table beginning of the table structure first row of three in the table end of the table structure table cells You do not need.
Tutorial 6 Creating Tables and CSS Layouts. Objectives Session 6.1 – Create a data table to display and organize data – Modify table properties and layout.
Working with Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of a document.
XP Tutorial 7New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks.
CSS Positioning Creating Special Effects with CSS CS202 Working with Cascading Style Sheets (Chapter 4) CS202 1.
CSS WORKSHOP Design Principles for Web Standards.
Layout with Styles Castro Chapter 11. Tables vs. CSS You can produce “liquid layouts” (layouts that stretch as the browser is resized) using tables or.
HTML with Style!. What is a Style Sheet? CSS? Style Sheet CSSCascading Style Sheets A “language” for defining style rules. Rules that tell the browser.
CNIT 132 – Week 4 Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of.
Advanced CSS. Display  Hiding an element can be done in two ways  display:none  Element is hidden and will no longer take up space on the page  Can.
XP Tutorial 7New Perspectives on HTML and XHTML, Comprehensive 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
Introduction to CSS: Selectors
CSS.
Laying out Elements with CSS
Working with Cascading Style Sheets
HTML & CSS Jan Janoušek.
Tutorial 5 Working with Web Tables
CNIT 131 HTML5 - Tables.
>> Navigation and Layouts in CSS
Formatting Text with CSS
Semester - Review.
Google fonts CSS box model
Applying CSS to Tables Stylish Tables.
Unit 3 - Review.
What’s New In Bootstrap v4?
CSS3 Style of the HTML document CSS2+New Specifications Differences
>> The “Box” Model
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
Advanced CSS BIS1523 – Lecture 20.
Creating Visual Effects and Animation
Cascading Style Sheets (Layout)
Web Systems & Technologies
Tutorial 5 Working with Web Tables
The Internet 10/25/11 XHTML Tables
Chapter 6 More CSS Basics Key Concepts
Objectives Create a reset style sheet Explore page layout designs
6 Layout.
Styles and the Box Model
CSS Borders and Margins.
CSS Box Model.
DynamicHTML Cascading Style Sheet Internet Technology.
Tutorial 6 Creating Dynamic Pages
Responsive Framework.
Cascading Style Sheets
Web Development & Design Foundations with H T M L 5
Web Development & Design Foundations with H T M L 5
DynamicHTML Cascading Style Sheet Internet Technology.
SEEM4570 Tutorial 3: CSS + CSS3.0
Floating and Positioning
Tutorial 4 Creating Special Effects with CSS
Building Blocks: Construct() Jump Start
CSS and Class Tools.
Principles of Web Design 5th Edition
Laying out Elements with CSS
CS3220 Web and Internet Programming More CSS
The Internet 10/20/11 CSS Layout
CS3220 Web and Internet Programming More CSS
CSc 337 Lecture 5: Grid layout.
CS3220 Web and Internet Programming More CSS
Presentation transcript:

Jeremy Foster | @codefoster Michael Palermo | @palermo4 02 | Styling and Layout Really, styling and layout are not entirely exclusively defined and we use CSS properties to affect both, but basically styling is changing the look of things – the colors, the fonts, the sizes, etc. Layout, on the other hand, is more a matter of where on the screen things appear, how much space there is between things, and how things behave when the screen is resized or reoriented by the user. Jeremy Foster | @codefoster Michael Palermo | @palermo4

Module Overview IE Dev Center CSS syntax Layout strategies Implement this layout calc() vw vh

IE Dev Center

The IE Dev Center IE Dev Center Modern.ie F12 tools IE Developer Channel IE Test Drive MyPinnedSite

CSS Syntax

CSS Syntax Anatomy of a style rule Selectors Combinators Directives Properties

Anatomy of a Style Rule

Selectors Universal type selector (*) Type Class (.) ID (#) Attribute ([]) Pseudo-class (:) Pseudo-element (::)

Combinators Descendent (space) Child (>) General sibling (~) Adjacent sibling (+)

Properties Select and then affect Hundreds of CSS style properties Browser determines the effect

codepen: Clove Hitch

Directives @font-face @media @keyframes

codeShow: Font Face

codeShow: Media Queries

codeShow: CSS Border

codeShow: Border Radius

codeShow: Gradients

Layout Strategies

Examples of styling and layout from microsoft.com Draw red lines emphasizing the spacing and layout of microsoft.com

Layout Strategies (layout) Flow Table Absolute Float Flex Grids Browser compatibility Grids (layout)

codeShow: CSS IDs and Classes

codeShow: Layout

codeShow: flex

codeShow: grid

Implement This Layout

<style> .grid { display:-ms-grid; -ms-grid-rows:1fr 1fr; -ms-grid-columns:1fr 1fr; } .top { -ms-grid-row: 0 } .bottom { -ms-grid-row: 1 } .left { -ms-grid-column: 0 } .right { -ms-grid-column: 1 } </style> <div class="grid"> <div class="top left"></div> <div class="top right"></div> <div class="bottom left"></div> <div class="bottom right"></div> </div>

<style> .container > div { margin:5px; background-color:gray; height:80px; } </style> <div class="container"> <div></div> </div>

Resources codefoster.com/cssbook css-tricks.com htmldog.com codepen.io/codefoster calc() vw vh

Summary IE Dev Center CSS syntax Layout strategies Implement this layout calc() vw vh