You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: WCC-CSS/README.md
+36-8Lines changed: 36 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# CSS (Cascading Stylesheets)
1
+
# CSS (Cascading Style Sheets)
2
2
3
3
Besides HTML files most websites use CSS files to maintain the styling.
4
4
HTML structures the content of a website and CSS styles them.
@@ -9,6 +9,13 @@ This means you are styling HTML elements in general, rather than adapting a spec
9
9
10
10
**Note:***If you are not familiar with the HTML syntax yet, reading the [WCC-HTML](./../WCC-HTML) could be a nice introduction for you.*
11
11
12
+
## Basic HTML Layout without Stylings
13
+
14
+
To be able to style something we will need some content.
15
+
I have prepared a basic layout with all kinds of different HTML elements.
16
+
Feel free to use it in an [online code editor like CodePen](https://codepen.io/dailysh-it/pen/gOYZXQX) or copy it to your local development environment.
17
+
If you are not using an IDE (Integrated Development Environment) yet, have a look on our [list of IDE's](WCC-Glossary#ide-integrated-development-environment).
18
+
12
19
```html
13
20
<!DOCTYPE html>
14
21
<html>
@@ -52,6 +59,11 @@ This means you are styling HTML elements in general, rather than adapting a spec
52
59
<li>
53
60
<ahref="#">At Work</a>
54
61
<!-- Sub Navigation -->
62
+
<ul>
63
+
<li>
64
+
<ahref="#">Paperless Office</a>
65
+
</li>
66
+
</ul>
55
67
</li>
56
68
<li>
57
69
<ahref="#">For Traveling</a>
@@ -60,6 +72,9 @@ This means you are styling HTML elements in general, rather than adapting a spec
60
72
<li>
61
73
<ahref="#">Carsharing</a>
62
74
</li>
75
+
<li>
76
+
<ahref="#">Vehicles in Comparison</a>
77
+
</li>
63
78
</ul>
64
79
</li>
65
80
<li>
@@ -69,6 +84,15 @@ This means you are styling HTML elements in general, rather than adapting a spec
69
84
<li>
70
85
<ahref="#">Carsharing</a>
71
86
</li>
87
+
<li>
88
+
<ahref="#">Railways & Train</a>
89
+
</li>
90
+
<li>
91
+
<ahref="#">Cycling</a>
92
+
</li>
93
+
<li>
94
+
<ahref="#">E-Mobility</a>
95
+
</li>
72
96
</ul>
73
97
</li>
74
98
</ul>
@@ -90,14 +114,18 @@ This means you are styling HTML elements in general, rather than adapting a spec
90
114
</nav>
91
115
92
116
<h1>Eco-friendliness that you can start right now with your electronical devices</h1>
93
-
<p></p>
94
-
<p></p>
95
-
<h2></h2>
96
-
<p></p>
97
-
<p></p>
98
-
117
+
<p>
118
+
Did you know that your phone charger consumes power all the time when you plug it into the wall?
119
+
Normally there is no on/off switch for the chargers.
120
+
That's why they draw power even when the phone isn't plugged in.
121
+
The same applies to electronical toothbrushes, laptops, shavers and many other devices.
122
+
</p>
123
+
<p>
124
+
So, there is an easy thing you can keep in mind: Plug off the charger, as soon as your device is charged or not plugged in.
125
+
</p>
99
126
<footer>
100
-
127
+
This document was maintained by Andrew, Sawah, Mohammad and Larissa.
128
+
Feel free to <ahref="#">edit the content on GitHub</a>.
0 commit comments