4 changed files with 49 additions and 0 deletions
After Width: | Height: | Size: 249 KiB |
After Width: | Height: | Size: 61 KiB |
@ -0,0 +1,17 @@ |
|||||
|
<!DOCTYPE html> |
||||
|
<html lang="en"> |
||||
|
<head> |
||||
|
<meta charset="UTF-8"> |
||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
||||
|
<title>Document</title> |
||||
|
<link rel="stylesheet" href="style.css"> |
||||
|
</head> |
||||
|
<body> |
||||
|
<h1>Test responzibility</h1> |
||||
|
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Fuga, harum! Natus praesentium aliquid debitis necessitatibus, dolor aspernatur quod. Repellat impedit quidem praesentium suscipit beatae eaque consectetur optio modi, fuga qui.</p> |
||||
|
<div class="row"> |
||||
|
<img src="img/explain.png" alt="Vysvětlující obrázek" class="col-6"> |
||||
|
<img src="img/explain.png" alt="Vysvětlující obrázek" class="col-6"> |
||||
|
</div> |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,32 @@ |
|||||
|
* { |
||||
|
box-sizing: border-box; |
||||
|
} |
||||
|
|
||||
|
html { |
||||
|
background-image: url('img/wallpaper.jpg'); |
||||
|
background-size: cover; |
||||
|
} |
||||
|
[class*="col-"] { |
||||
|
float: left; |
||||
|
padding: 5%; |
||||
|
} |
||||
|
|
||||
|
img{ |
||||
|
border: 5px black solid; |
||||
|
} |
||||
|
.col-6 {width: 50%;} |
||||
|
|
||||
|
@media only screen and (max-width: 768px) { |
||||
|
/* For mobile phones: */ |
||||
|
[class*="col-"] { |
||||
|
width: 100%; |
||||
|
} |
||||
|
body { |
||||
|
background-image: url('img/wallpaper.jpg'); |
||||
|
background-size: cover; |
||||
|
} |
||||
|
|
||||
|
|
||||
|
} |
||||
|
|
||||
|
|
Loading…
Reference in new issue