JSFiddle - React, Tailwind, and code Playground
by Elvin Asadov
HTML
<div class="container">
<h1 class="h1_center bold padding_bottom">HƏYATIN YIĞIM SIĞORTASI ŞƏHADƏTNAMƏSİ</h1>
<p class="bold padding_bottom">
Sığortaçı, sığorta haqqının ödənilməsi müqabilində və bu şəhadətnamənin (bundan Şəhadətnamə )şərtlərinə və müddəalarına müvafiq olaraq, Sığorta olunana bu şəhadətnamədə əks olunmuş sığorta təminatı verməyə razılıq verir.
</p>
<table class="table_main padding_bottom">
<tr>
<td class="td_first"><span class="bold">1. ŞƏHADƏTNAMƏNİN NÖMRƏSİ:</span></td>
<td colspan="2">@PolicyNumber</td>
</tr>
<tr>
<td class="td_first"><span class="bold">2. SIĞORTAÇI VƏ ONUN ÜNVANI:</span></td>
<td colspan="2">
<span class="bold">«Atəşgah Həyat» Sığorta Şirkəti ASC</span>
<br />
<span>Azərbaycan Respublikası, AZ1110, C. Hacıbəyli küç. 218</span>
<br />
<span>VÖEN: 1500327241</span>
</td>
</tr>
<tr>
<td class="td_first"><span class="bold">3. SIĞORTALI VƏ ONUN ÜNVANI:</span></td>
<td colspan="2">
<span class="bold">@HolderName</span>
<br />
<span>Ünvan: @HolderAddress</span>
<br />
<span>VÖEN: @HolderVoen</span>
</td>
</tr>
<tr>
<td class="td_first"><span class="bold">4. SIĞORTA OLUNAN VƏ ONUN ÜNVANI:</span></td>
<td colspan="2">
<span class="bold">@InsuredPersonName</span>
<br />
<span>Ünvan: @InsuredAddress</span>
</td>
</tr>
<tr>
<td class="td_first"><span class="bold">5. SIĞORTA OLUNANIN DOĞUM TARİXİ:</span></td>
<td colspan="2">
<span>@InsuredBirthdate</span>
</td>
</tr>
<tr>
<td class="td_first"><span class="bold">6.SIĞORTA OLUNANIN...
CSS
* {
font-size: 11px;
font-family: Arial;
}
.container {
width: 700px;
}
p {
font-size: 10px;
}
.bold {
font-weight: bold;
}
.padding_bottom {
padding-bottom: 6px;
}
.h1_center {
text-align: center;
font-size: 12px;
}
.h1_right {
text-align: right;
font-size: 12px;
}
table td {
vertical-align: top;
}
table.table_main {
width: 700px;
}
table.table_main td {
padding-bottom: 9px;
}
table.table_main td.small_padd {
padding-bottom: 4px;
}
td.td_first {
width: 200px;
}
.table_flow {
border-collapse: collapse;
border: 0.5px solid black;
}
.table_flow td {
border: 0.5px solid black;
padding: 3px;
text-align: center;
}