scci'15 - devology - session 2 - ui&css

21

Click here to load reader

Upload: scci-cu

Post on 12-Jul-2015

208 views

Category:

Education


4 download

TRANSCRIPT

Page 1: SCCI'15 - Devology - Session 2 - UI&CSS

Presented By:Assem SalemMahmoud Bahaa El-Din

Page 2: SCCI'15 - Devology - Session 2 - UI&CSS

What’s UI?

Page 3: SCCI'15 - Devology - Session 2 - UI&CSS

It’s what you can see and interact with..

Page 4: SCCI'15 - Devology - Session 2 - UI&CSS
Page 5: SCCI'15 - Devology - Session 2 - UI&CSS

A good UI should be:• Simple.

• Consistency & common UI elements

• Purposeful layout.

• Strategically use colour and texture.

• Typography.

Page 6: SCCI'15 - Devology - Session 2 - UI&CSS

CSS A world of beauty

Page 7: SCCI'15 - Devology - Session 2 - UI&CSS

What is

Page 8: SCCI'15 - Devology - Session 2 - UI&CSS

<h1>HTML elemnts</h1><p>Welcome to SCCI!</p>

HTML elementsWelcome to SCCI!

Page 9: SCCI'15 - Devology - Session 2 - UI&CSS

Where to…?!!

InlineInternal

External

<style>h1{

color: #1234 }

</style>

<h1 style=“color: #1234;”></h1>

.html .css

Page 10: SCCI'15 - Devology - Session 2 - UI&CSS

• Selectors

• Background

• Text

• Borders

Page 11: SCCI'15 - Devology - Session 2 - UI&CSS

Selector

Element Id class

P{css code

}

#id{css code

}

.class{css code

}

p.class{css code

}

Page 12: SCCI'15 - Devology - Session 2 - UI&CSS

• Selectors

• Background

• Text

• Borders

Page 13: SCCI'15 - Devology - Session 2 - UI&CSS

Backgroundscolor image

{background-color: #1234;}

{background-image: url(“ ”);}

Page 14: SCCI'15 - Devology - Session 2 - UI&CSS

• Selectors

• Background

• Text

• Borders

Page 15: SCCI'15 - Devology - Session 2 - UI&CSS

Text

color Font size Font styleFont family

{color: #1234;}

{Font-family: Calibri;}

{Font-size: 28;}

{Font-style: italic;}

Page 16: SCCI'15 - Devology - Session 2 - UI&CSS

• Selectors

• Background

• Text

• Borders

Page 17: SCCI'15 - Devology - Session 2 - UI&CSS

Borders

border border radius Box shadow

{border:2px solid #FFF;}

{border-radius: 20 px;}

{box-shadow: 0 0 10 px blue;}

Page 18: SCCI'15 - Devology - Session 2 - UI&CSS

Recap

Page 19: SCCI'15 - Devology - Session 2 - UI&CSS

Where to ?! Inline Internal External

Selectors Element Id class

Backgrounds color image repeat position

Text color Font size Font weightFont family

Left right bottomMargin top

Border radius shadow

Page 20: SCCI'15 - Devology - Session 2 - UI&CSS

Any Questions?

Page 21: SCCI'15 - Devology - Session 2 - UI&CSS

Thank You