Skip to content

Commit 9a8a0a5

Browse files
external styling file added rather than internal
1 parent 75ba07b commit 9a8a0a5

2 files changed

Lines changed: 28 additions & 29 deletions

File tree

Form-Controls/index.html

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -6,35 +6,7 @@
66
<title>My form exercise</title>
77
<meta name="description" content="" />
88
<meta name="viewport" content="width=device-width, initial-scale=1" />
9-
<style>
10-
h1{
11-
color:rgb(127, 24, 175);
12-
font-family:serif;
13-
font-size:60px;
14-
text-align: left;
15-
font-style: oblique;
16-
}
17-
label{
18-
font-size: 22px;
19-
color: rgb(29, 45, 133);
20-
}
21-
h2{
22-
font-size: 25px;
23-
color: rgb(127, 24, 175);;
24-
}
25-
#wall{
26-
background-color:rgb(160, 243, 243);
27-
padding:6px 6px;
28-
border: 6px solid black;
29-
max-width:70%;
30-
margin: 3px auto;
31-
}
32-
footer{
33-
font-family: Arial, Helvetica, sans-serif;
34-
font-size: 20px;
35-
text-align: center;
36-
}
37-
</style>
9+
<link rel="stylesheet" href="styles.css">
3810
</head>
3911
<body>
4012
<div id="wall">

Form-Controls/styles.css

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
h1{
2+
color:rgb(127, 24, 175);
3+
font-family:serif;
4+
font-size:60px;
5+
text-align: left;
6+
font-style: oblique;
7+
}
8+
label{
9+
font-size: 22px;
10+
color: rgb(29, 45, 133);
11+
}
12+
h2{
13+
font-size: 25px;
14+
color: rgb(127, 24, 175);;
15+
}
16+
#wall{
17+
background-color:rgb(160, 243, 243);
18+
padding:6px 6px;
19+
border: 6px solid black;
20+
max-width:70%;
21+
margin: 3px auto;
22+
}
23+
footer{
24+
font-family: Arial, Helvetica, sans-serif;
25+
font-size: 20px;
26+
text-align: center;
27+
}

0 commit comments

Comments
 (0)