JSFiddle - React, Tailwind, and code Playground
https://teratail.com/questions/294150
by Lhankor_Mhy
HTML
<div class="part3">
<h2>エンジニアとして本当の自由を手に入れるためには?</h2>
<div class="content">
<br><br>エンジニア需要の高まりに伴い、プログラミングスクールが増えています。
<br>しかし、そこでの学習の先は提携して決められた就職先に就職すること。
<br><br>これで本当にいいのですか?
<br>日本人エンジニアはアメリカ比べて給料が格段に低い。
<br>その理由がここにあり、エンジニアは自分の給料をコントロールすべきなのです。
<br><br>スキルを身に付けたエンジニアは、人生をコントロールすることでより自由に。
<br>そこで必要なのが<span class="under">「稼ぐ力」</span>です。
</div>
</div>
<div class="part4">
<div class="about">
<h3>ABOUT</h3>
</div>
</div>
CSS
.part3 {
text-align: center;
margin-bottom: 100px;
}
* {
margin: 0;
padding: 0;
}
.part3 h2 {
position: relative;
text-align: center;
padding: 35px 0;
margin: 10px auto;
margin-top: 50px;
}
.part3 h2::before {
content: "";
position: absolute;
top: 10px;
left: 350px;
width: 50px;
height: 50px;
border-top: 4px solid #EBB94D;
border-left: 4px solid #EBB94D;
}
.part3 h2::after {
content: "";
position: absolute;
top: 50px;
right: 300px;
width: 50px;
height: 50px;
border-bottom: 4px solid #EBB94D;
border-right: 4px solid #EBB94D;
}
.content {
font-size: 20px;
font-weight: 100;
margin-bottom: 100px;
}
.content span {
color: black;
font-weight: bold;
}
.under {
background: linear-gradient(transparent 70%, #EBB94D 0 );
}
.part3 {
background-image: url(https://isara.life/wp-content/themes/isara_v2/img/introbottom.jpg);
background-size: 100%;
background-position: center;
background-repeat: no-repeat;
/*padding-top: 10px;*/
display: flow-root;
}
.about {
background-color: #eab857;
border-radius: 50%;
height: 80px;
width: 80px;
margin:0 auto;
}