forked from vivinkv6/10-days-web-development-challenge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcss.html
40 lines (40 loc) · 1.79 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<style>
div {
background-image: linear-gradient(rgb(214, 112, 129), rgb(91, 91, 182));
padding: 20px;
}
</style>
</head>
<body>
<div>
<h1>CSS</h1>
<p>
Cascading Style Sheets (CSS) is a style sheet language used for
describing the presentation of a document written in a markup language
such as HTML or XML (including XML dialects such as SVG, MathML or
XHTML).[1] CSS is a cornerstone technology of the World Wide Web,
alongside HTML and JavaScript.[2] CSS is designed to enable the
separation of content and presentation, including layout, colors, and
fonts.[3] This separation can improve content accessibility; provide
more flexibility and control in the specification of presentation
characteristics; enable multiple web pages to share formatting by
specifying the relevant CSS in a separate .css file, which reduces
complexity and repetition in the structural content; and enable the .css
file to be cached to improve the page load speed between the pages that
share the file and its formatting. Separation of formatting and content
also makes it feasible to present the same markup page in different
styles for different rendering methods, such as on-screen, in print, by
voice (via speech-based browser or screen reader), and on Braille-based
tactile devices. CSS also has rules for alternate formatting if the
content is accessed on a mobile device.[4]
</p>
</div>
</body>
</html>