-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCSS.html
237 lines (224 loc) · 14.7 KB
/
CSS.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<!-- Color Css Files
============================================ -->
<link rel="alternate stylesheet" type="text/css" href="css/vendors/switcher/color-one.css" title="color-one" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="css/vendors/switcher/color-two.css" title="color-two" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="css/vendors/switcher/color-three.css" title="color-three" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="css/vendors/switcher/color-four.css" title="color-four" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="css/vendors/switcher/color-five.css" title="color-five" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="css/vendors/switcher/color-six.css" title="color-six" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="css/vendors/switcher/color-seven.css" title="color-seven" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="css/vendors/switcher/color-eight.css" title="color-eight" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="css/vendors/switcher/color-nine.css" title="color-nine" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="css/vendors/switcher/color-ten.css" title="color-ten" media="screen" />
<link rel="stylesheet" href="css/vendors/switcher/color-switcher.css">
<link rel="stylesheet" href="css/vendors/code-editor/codemirror.css">
<link rel="stylesheet" href="css/vendors/code-editor/ambiance.css">
<link rel="stylesheet" href="css/vendors/normalize.css">
<link rel="stylesheet" href="css/vendors/w3.css">
<!-- Bootstrap CSS
============================================ -->
<link rel="stylesheet" href="css/vendors/bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="css/vendors/bootstrap/bootstrap-theme.css">
<link rel="stylesheet" href="css/vendors/fonts/font-awesome.min.css">
<link rel="stylesheet" href="css/vendors/animate.css">
<!-- Style CSS
============================================ -->
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<!--section img header-->
<div class="hero-worp img" style="background-image: url(img/head.jpg);">
<div class="overly"></div>
</div>
<!--end of section img header-->
<!--section navbar-->
<!--section navbar-->
<nav class="navbar navbar-expand-lg navbar navbar-dark">
<a class="navbar-brand" href="#">DTech</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="index.html">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="frontend" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Front-End
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<ul class="dropdown-item animated flipInX " title="frontend">
<li class="dropdown-item "><a href="HTML.html" class="nav-link">HTML</a></li>
<li class="dropdown-item"><a href="CSS.html" class="nav-link">CSS</a></li>
<li class="dropdown-item"><a href="Bootstrap.html" class="nav-link">Bootstrap</a></li>
<li class="dropdown-item"><a href="#JavaScript" class="nav-link">JavaScript</a></li>
<li class="dropdown-item"><a href="#HTML DOM" class="nav-link">HTML DOM</a></li>
<li class="dropdown-item"><a href="#JSON" class="nav-link">JSON</a></li>
<li class="dropdown-item"><a href="#XML" class="nav-link">XML</a></li>
<li class="dropdown-item"><a href="#jQuery" class="nav-link">jQuery</a></li>
<li class="dropdown-item"><a href="#Angular" class="nav-link">Angular</a></li>
<li class="dropdown-item"><a href="#React" class="nav-link">React</a></li>
<li class="dropdown-item"><a href="#Gulp" class="nav-link">Gulp</a></li>
</ul>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="backend" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Back-End
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<ul class="dropdown-item animated flipInX " title="frontend">
<li class="dropdown-item "><a href="#PHP" class="nav-link">PHP</a></li>
<li class="dropdown-item"><a href="#ASP" class="nav-link">ASP</a></li>
<li class="dropdown-item"><a href="#C++" class="nav-link">C++</a></li>
<li class="dropdown-item"><a href="#C#" class="nav-link">C#</a></li>
<li class="dropdown-item"><a href="#Java" class="nav-link">Java</a></li>
<li class="dropdown-item"><a href="#Python" class="nav-link">Python</a></li>
<li class="dropdown-item"><a href="#Node.js" class="nav-link">Node.js</a></li>
<li class="dropdown-item"><a href="#Ruby" class="nav-link">Ruby</a></li>
<li class="dropdown-item"><a href="#SQL" class="nav-link">SQL</a></li>
<li class="dropdown-item"><a href="#MongoDB" class="nav-link">MongoDB</a></li>
<li class="dropdown-item"><a href="#Firebase.com" class="nav-link">Firebase.com</a></li>
<li class="dropdown-item"><a href="#Sass" class="nav-link">Sass</a></li>
</ul>
</div>
</li>
<li class="nav-item"><a href="#Library" class="nav-link">Library</a></li>
<li class="nav-item"><a href="#Activites" class="nav-link">Live video</a></li>
<li class="nav-item"><a href="#contact" class="nav-link">Contact</a></li>
<li class="nav-item"><a href="#About" class="nav-link">About us</a></li>
</ul>
<form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn bg-success btn-outline-warning my-2 my-sm-0" type="submit">Search</button>
</form>
</div>
</nav>
<!--end of section navbar-->
<!--section container-->
<div class="container">
<!--section row-->
<div class="row">
<div class="col-md-6">
<div class="row">
<h2 class="title text-info">Licence For CSS3</h2>
</div>
<div class="img"><img src="img/img_css.jpg" title="img_css" /></div>
</div>
<div class="col-md-6">
<div class="accordion" id="accordionExample">
<div class="card">
<div class="card-header bg-success" id="headingOne">
<h2 class="mb-0 text-center">
<button class="btn" type="button" data-toggle="collapse" data-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
What is CSS?
</button>
</h2>
</div>
<div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="#accordionExample">
<div class="card-body">
CSS stands for Cascading Style Sheets<br> CSS describes how HTML elements are to be displayed
</div>
</div>
</div>
<div class="card">
<div class="card-header bg-info" id="headingTwo">
<h2 class="mb-0 text-center">
<button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
CSS Syntax
</button>
</h2>
</div>
<div id="collapseTwo" class="collapse" aria-labelledby="headingTwo" data-parent="#accordionExample">
<div class="card-body">
<img src="img/img_selector.gif"> The selector points to the HTML element to style (h1). The declaration block (in curly braces) contains one or more declarations separated by semicolons. Each declaration includes a CSS
property name and a value, separated by a colon. In the following example all <p> elements will be center-aligned, red and have a font size of 32 pixels:
</div>
</div>
</div>
<div class="card">
<div class="card-header bg-warning" id="headingThree">
<h2 class="mb-0 text-center">
<button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
External Style Sheet
</button>
</h2>
</div>
<div id="collapseThree" class="collapse" aria-labelledby="headingThree" data-parent="#accordionExample">
<div class="card-body">
A CSS style sheet can be stored in an external file:<br>
<strong class="text-danger">mystyle.css</strong><br> body {background-color: orange; font-family:verdana}<br> h1 {color: white;}<br> p {font-size: 20px;}
<hr> External style sheets are linked to HTML pages with <link> tags
</div>
</div>
</div>
<div class="card">
<div class="card-header bg-secondary" id="headingFour">
<h2 class="mb-0 text-center">
<button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseFour" aria-expanded="false" aria-controls="collapseThree">
Internal Style Sheet
</button>
</h2>
</div>
<div id="collapseFour" class="collapse" aria-labelledby="headingThree" data-parent="#accordionExample">
<div class="card-body">
A CSS style sheet can be stored in an Internal file in header websile:<br> <style>
<br> h1 {color: white;}<br> </style>
</div>
</div>
</div>
<div class="card">
<div class="card-header bg-primary" id="headingFive">
<h2 class="mb-0 text-center">
<button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseFive" aria-expanded="false" aria-controls="collapseThree">
Inline Style
</button>
</h2>
</div>
<div id="collapseFive" class="collapse" aria-labelledby="headingThree" data-parent="#accordionExample">
<div class="card-body">
<p class="attributecolor" style="color:red;font-size:24px;font-weight: bold;">this is paragraph </p>
</div>
</div>
</div>
<div class="card">
<div class="card-header bg-danger" id="headingSix">
<h2 class="mb-0 text-center">
<button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseSix" aria-expanded="false" aria-controls="collapseThree">
Cascading Order
</button>
</h2>
</div>
<div id="collapseSix" class="collapse" aria-labelledby="headingThree" data-parent="#accordionExample">
<div class="card-body">
Priority 1: Inline styles<br> Priority 2: External and internal style sheets<br> Priority 3: Browser default<br> If different styles are defined on the same priority level, the last one has the highest priority.
</div>
</div>
</div>
</div>
</div>
</div>
<!--end of section row-->
</div>
<!--end of section container-->
<!-- jQuery -->
<script src="js/vendors/jquery/jquery.js"></script>
<script src="js/vendors/jquery/jquery.min.js"></script>
<!-- Bootstrap -->
<script src="js/vendors/bootstrap/bootstrap.min.js"></script>
<script src="js/vendors/code-editor/codemirror.js"></script>
<script src="js/vendors/code-editor/code-editor.js"></script>
<script src="js/vendors/code-editor/code-editor-active.js"></script>
<!-- Custom Theme Scripts -->
<script src="js/vendors/switcher/switch-active.js"></script>
<script src="js/vendors/switcher/styleswitch.js"></script>
<!--<script src="js/vendors/photo/photoscript.js"></script>-->
<script src="js/script.js"></script>
</body>
</html>