Skip to content

Commit a4f9dc2

Browse files
Merge pull request #102 from alikahwaji/master
Creating a CSS style for the index.html
2 parents ea24fba + 71c95ee commit a4f9dc2

File tree

2 files changed

+32
-16
lines changed

2 files changed

+32
-16
lines changed

css/style.css

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
button {
2+
background-color: #958adb;
3+
border: none;
4+
color: white;
5+
text-align: center;
6+
text-decoration: none;
7+
display: inline-block;
8+
font-size: 10px;
9+
margin: 4px 2px;
10+
cursor: pointer;
11+
border-radius: 12px;
12+
}

index.html

+20-16
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
<!DOCTYPE html>
22
<html>
3-
<head>
4-
</head>
5-
<body>
6-
<ul>
7-
<li>
8-
<a href="en/00-01.html">English</a>
9-
</li>
10-
<li>
11-
<a href="de/00-01.html">Deutsch</a>
12-
</li>
13-
<li>
14-
<a href="sv/00-01.html">Svenska</a>
15-
</li>
16-
</ul>
17-
<a href="https://niccokunzmann.github.io/download_latest/regex-tutorial.zip">Download</a>
18-
</body>
3+
4+
<head>
5+
<link rel="stylesheet" type="text/css" href="style.css">
6+
</head>
7+
8+
<body>
9+
<form method="get" action="/en/00-01.html">
10+
<button class="btn" type="submit">English</button>
11+
</form>
12+
<form method="get" action="de/00-01.html">
13+
<button type="submit">Deutsch</button>
14+
</form>
15+
<form method="get" action="sv/00-01.html">
16+
<button type="submit">Svenska</button>
17+
</form>
18+
<form method="get" action="https://niccokunzmann.github.io/download_latest/regex-tutorial.zip">
19+
<button type="submit">Download</button>
20+
</form>
21+
</body>
22+
1923
</html>

0 commit comments

Comments
 (0)