3 колонки
by helpD54
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PW</title>
<style>h2 {color: aliceblue;}
@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700&family=Lexend+Deca&display=swap');
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
:root {
--paragraphs-color: hsla(0, 0%, 100%, 0.75);
--background-color: hsl(0, 0%, 95%);
--button-hover-font-color: var(--background-color);
--button-color: unset;
}
.body {
display: inline;
padding: 30px;
font-weight: 700;
font-size: 4.5rem;
text-align: center;
margin: 0 auto;
}
.container {
padding: 15px;
position: absolute; /* left, right, bottom, top */
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
text-align: center;
font-size: 0;
}
.card {
display: inline-block;
width: 5%;
min-width: 200px;
padding: 100px;
padding-top: 70px;
font-size: 23px;
height: 380px;
margin:5px;
border-radius: 10px;
}
.card__title {
font-family: "Big Shoulders Display", sans-serif;
text-transform: uppercase;
text-align: center;
color: white;
}
.card__body {
padding: 25px;
padding-bottom:135px;
font-weight: 600;
color: black;
background: white;
border-radius: 10px;
margin-bottom: 150px;
margin-top:50px;
font-size: 17px;
...
CSS
@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700&family=Lexend+Deca&display=swap');
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
:root {
--first-card-color: hsl(38.8,100%,50%);
--second-card-color: hsl(109, 100%, 50%);
--third-card-color: hsl(323, 86%, 39%);
--paragraphs-color: hsla(0, 0%, 100%, 0.75);
--background-color: hsl(0, 0%, 95%);
--button-hover-font-color: var(--background-color);
--button-color: unset;
}
.body {
display: inline;
padding: 30px;
font-weight: 700;
font-size: 4.5rem;
margin: 25px 21px 0;
}
.container {
padding: 15px;
position: absolute; /* left, right, bottom, top */
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
text-align: center;
font-size: 0;
}
.card {
display: inline-block;
width: 320px;
padding: 100px;
font-size: 23px;
text-align: left;
}
.card:last-child {
border-radius: 0 10px 10px 0;
}
.card:first-child {
border-radius: 10px 0 0 10px;
}
.card__title {
font-family: "Big Shoulders Display", sans-serif;
text-transform: uppercase;
text-align: center;
color: white;
}
.card__body {
padding: 15px;
color: var(--paragraphs-color);
margin-bottom: 100px;
font-size: 17px;
text-align: center;
}
.card__button_green {
padding: 15px;
border: 1px solid var(--paragraphs-color);
font-size: 20px;
text-align: center;
color:...