modified: begushiybashkir/src/index.html
modified: begushiybashkir/src/styles/style.css text on top of img
This commit is contained in:
@@ -11,18 +11,22 @@
|
|||||||
<html>
|
<html>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
|
<div class="header_img" id="header_img">
|
||||||
<img
|
<img
|
||||||
class="MainPhoto"
|
class="MainPhoto"
|
||||||
id="MainPhotoID"
|
id="MainPhotoID"
|
||||||
src="./photo/ZagirTrainer.jpg"
|
src="./photo/ZagirTrainer.jpg"
|
||||||
alt="BegushiyBashkirClub'sPhoto"
|
alt="BegushiyBashkirClub'sPhoto"
|
||||||
/>
|
/>
|
||||||
<h3>Running club - Беговой клуб</h3>
|
</div>
|
||||||
|
<div class="text_card" id="text_card">
|
||||||
<h1>Begushiy Bashkir</h1>
|
<h1>Begushiy Bashkir</h1>
|
||||||
|
<h3>Running club - Беговой клуб</h3>
|
||||||
<h3>
|
<h3>
|
||||||
«БЕГ — ЭТО НЕ ТОЛЬКО СКОРОСТЬ. ЭТО — СИЛА ПРЕДКОВ, ДУХ БАТЫРА И
|
«БЕГ — ЭТО НЕ ТОЛЬКО СКОРОСТЬ. ЭТО — СИЛА ПРЕДКОВ, ДУХ БАТЫРА И
|
||||||
ШАПКА-БҮРЕК НА ГОЛОВЕ!»
|
ШАПКА-БҮРЕК НА ГОЛОВЕ!»
|
||||||
</h3>
|
</h3>
|
||||||
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<main class="MainContent" id="MainContent">
|
<main class="MainContent" id="MainContent">
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
@import url('mobileStyle.css');
|
@import url("mobileStyle.css");
|
||||||
@import url('tabletStyle.css');
|
@import url("tabletStyle.css");
|
||||||
@import url('descktopStyle.css');
|
@import url("descktopStyle.css");
|
||||||
|
|
||||||
html {
|
html {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -20,6 +20,24 @@ body {
|
|||||||
|
|
||||||
header {
|
header {
|
||||||
background-color: #888888;
|
background-color: #888888;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header_img {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text_card {
|
||||||
|
position: absolute; /* накладываем элемент поверх */
|
||||||
|
bottom: 0;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
background-color: rgba(0, 255, 0, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
|
|||||||
Reference in New Issue
Block a user