We are currently doing on client projects #1 Commenting old style rules and defining new rule for the section we want to change the css rule. #2 Redefining.

Slides:



Advertisements
Similar presentations
Cascading Style Sheets CSS. Learning outcome CSS – Introduction – Motivation – Advantages – Implementation – Classes & Ids – and – General Model – Validation.
Advertisements

ASP.NET Intro An introduction to the languages and communication of an ASP.NET system.
Layout using CSS. Using multiple classes In the head:.important{font-style:italic;}.title{color:red;} In the body: Here's a type of paragraph that is.
Web Pages and Style Sheets Bert Wachsmuth. HTML versus XHTML XHTML is a stricter version of HTML: HTML + stricter rules = XHTML. XHTML Rule violations:
“Cascading Style Sheets” for styling WWW information DSC340 Mike Pangburn.
Sculpt Framework Mobile-First with Progressive Enhancement.
Stylin’ with CSS. 2 Topics What is CSS? Why CSS? CSS Examples.
Lecture Cascading Style Sheets (CSS) Internal Style Sheets Classes.
Web Workshop: CSS Objectives: - “What is CSS?” - Structure of CSS - How to use CSS in your webpage.
CSS Basics LIS Webteam April 8, Why CSS? What’s wrong with HTML? Structure vs Style Early web design used hacks to style webpages with HTML – like.
The.htm/.html Mystery When saving the template files in Internet Explorer, they will be named.htm by default. To be consistent with how the code was written.
4.01 Cascading Style Sheets
Lloyd-Jamie Bennett – P Stylianos Michael – P
Bones – HTML5 Wordpress Theme Development
Chapter 11 Cascading Style Sheets: Part I The Web Warrior Guide to Web Design Technologies.
Cascading Style Sheets Dreamweaver. Styles Determine how the HTML code will display Determine how the HTML code will display Gives designers much more.
 a style language that defines layout & appearance of HTML documents  CSS covers fonts, colours, margins, lines, height, width, background images and.
Dreamweaver -- CSS. Dreamweaver -- MX New icons are added in MX Most of the features commonly used in web design, and are same as FrontPage. New feature.
The Characteristics of CSS
Using Styles and Style Sheets for Design
INTERNAL CSS Casey Ames Different types of CSS There are three different types of CSS: ◦ External CSS ◦ Internal CSS ◦ Inline CSS In this presentation.
SE-2840 Dr. Mark L. Hornick 1 Separating Structure from Presentation: CSS.
Using the API. Learning Objectives By the end of this lecture, you should be able to: – Identify what is meant by an ‘API’ – Know how to look up functions.
HTML and Style. Session overview Leveling-off on the basic concepts of HTML and Styles Discuss Web authoring options.
1 Background and Text Links CGS3066 Rory J. De Simone.
ITCS373: Internet Technology Week 3: Introduction to CSS Dr. Faisal Al-Qaed.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
CSS CSS is short for C ascading S tyle S heets. It is a new web page layout method that has been added to HTML to give web developers more control over.
CSS = Cascading Style Sheet CSS consists of rules to display, style and decorate HTML elements Why CSS ? – Separate decoration from HTML markup (Ex :,,…)
CS134 Web Design & Development Cascading Style Sheets (CSS) Mehmud Abliz.
Use CSS to Implement a Reusable Design Selecting a Dreamweaver CSS Starter Layout is the easiest way to create a page with a CSS layout You can access.
CSS BEST PRACTICES.
INTRODUCTION TO CSS. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features of CSS Features of CSS  Creating Style Sheet Creating Style Sheet.
INT222 - Internet Fundamentals Shi, Yue (Sunny) Office: T2095 SENECA COLLEGE.
SASS & LESS Syntactically Awesome StyleSheets Dynamic StyleSheet Language Svetlin Nakov Technical Trainer Software University
CSS Cascading Style Sheets. Cascading Style Sheet (CSS) A cascading style sheet (CSS) is a set of rules that define styles to be applied to entire Web.
1 © Netskills Quality Internet Training, University of Newcastle Using Style Sheets in Dreamweaver CS © Netskills, Quality Internet Training, University.
Introduction to CSS. Why CSS? CSS Provides Efficiency in Design and Updates CSS relatively easy to use Can give you more flexibility and control Faster.
CSS Cascading Style Sheets A very brief introduction CSS, Cascading Style Sheets1.
CIT 256 CSS Intro & Dreamweaver Built-in Layouts Dr. Beryl Hoffman.
ACM 262 INTRODUCTION TO WEB DESIGN Week-7 ACM 262 Course Notes.
Cascading Style Sheets (CSS) EXPLORING COMPUTER SCIENCE – LESSON 3-5.
 An HTML, CSS, Javascript framework you can use as a basis for creating web sites  Uses CSS settings, fundamental HTML elements styled and enhanced.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Web Design (15) CSS Opacity, Link Colours & Background Images.
Responsive Web Design (RWD) MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/11/2016.
Group 9: Through examples, explain how to build a css navigation bar. Presented by: Daniel Ku, Matt Iannacci & Iphia Henry.
Cheryl Wolfe Web Services Administrator Tampa-Hillsborough County Public Library James Day Electronic Services Librarian Embry-Riddle Aeronautical University.
HTML 5 (Part 1) – Start from SCRATCH. HTML 5 – Start from SCRATCH.
CSS Cascading Style Sheets Prepared By
What is CSS? A set of style rules that tell the web browser how to present a web page or document. – In earlier versions of HTML, style characteristics,
Less – Design That is More… BY SPEC INDIA. Less – Design  Adaptive Cross Platform CSS grid system  Responsive & Mobile First Projects  Uses Standards-based.
Doing More with Less for CSS Todd Anglin Telerik
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
Web Application Development Process
Cascading Style Sheets (CSS)
CSS Nick Sims.
Web Basics: HTML/CSS/JavaScript What are they?
4.01 Cascading Style Sheets
Implementing Responsive Design
CS1220 Web Programming Saloni Chacha.
Introduction to Web programming
CSS.
Styles and the Box Model
Unit 6 part 3 Test Javascript Test.
Server Side Includes Server Side Includes (SSI) are simply this:
4.01 Cascading Style Sheets
Using the API.
Presentation transcript:

We are currently doing on client projects #1 Commenting old style rules and defining new rule for the section we want to change the css rule. #2 Redefining all the style rules in media queries. #3 Using constant values for defining style.

Example of Commenting old style rules and defining new rule. Example: body { /*background-color: #f5f5f5;*/ background-color: #fff; color: #1a212b; } We can simply replace the old style with new one instead of commenting it and then redefining it with new style. Example: body { background-color: #fff; color: #1a212b; }

Example of Redefining all the style rules in media queries. Example:.home-top { background-color: white; padding: 0px 0; margin-top: -150px; } We can simply define the parameter which is changing instead of redefining the same parameters. Example:.home-top { margin-top: -90px; }

We can do following things to change our way of coding projects on the front end #1 We can simply replace the old style rule instead of commenting it out and then defining new style. #2 We can define particular style rules of the desired section in media queries, those we want to change and neglect the other parameters which are same as in the previous media query or the global style. #3 We can use variables instead of constants as suggested by Janis

List of courses on Lynda.com which can help us bridge this knowledge gap 1 Css with less and sass 2 Saas essential training Css: Frameworks and Grid (Simply to have an idea about layouts.)

Brief introduction about course: #1 Use variables --- define once and use multiple times in style rule Example : If you are using same color in multiple instances and you want to change the color value then you have to change the color in multiple instances. By using variables you can change it at one place. #2 We can define and reuse the common style rules Can create reusable classes(mixins then call them whenever required) #3 Enable us to do calculations. #4 Helps to organise and reduce css.

Requirements to do course #1 Knowledge of HTML #2 Knowledge of CSS #3 Knowledge of Programming language Note: Recommended required courses 1 Html5 2 Css fundamentals by james williamson 3 Css core concepts by james williamson 4 Javascript essentials training with simon

Note: Many browser does not support css variables. Eg: IE, Chrome (old versions), Safari,Opera etc. To overcome this situation we have to define fallback or default css.