-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d47a01e
commit bb5462e
Showing
1 changed file
with
42 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,48 @@ | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<style> | ||
</style> | ||
</head> | ||
<body> | ||
<h1>Rubrik A</h1> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<style> | ||
h1 { | ||
font-size: 16px; | ||
} | ||
|
||
.my-special-element { | ||
color: green; | ||
} | ||
|
||
#container > .my-special-element { | ||
background-color: skyblue; | ||
} | ||
|
||
p:first-of-type { | ||
border: 1px solid black; | ||
} | ||
|
||
h2 + p { | ||
margin-top: 100px; | ||
} | ||
|
||
a { | ||
color: red; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div id="container"> | ||
<h1 class="my-special-element">Rubrik A</h1> | ||
<h2>Rubrik B</h2> | ||
<p> | ||
En brödtext med <a href="https://google.se"> | ||
<p class="paragraph"> | ||
En brödtext med <a class="my-special-element" href="https://google.se"> | ||
en länk till svenska Google</a> | ||
och lite mer text. | ||
och lite mer text. | ||
</p> | ||
<p>En brödtext</p> | ||
<a href="https://google.com"> | ||
<p class="my-special-element"">En brödtext</p> | ||
<a href=" https://google.com"> | ||
Klicka här för amerikanska Google | ||
</a> | ||
</body> | ||
</a> | ||
</div> | ||
</body> | ||
|
||
</html> |