add badge on services
This commit is contained in:
parent
1b9386f41c
commit
749383db11
2 changed files with 21 additions and 1 deletions
|
@ -672,6 +672,24 @@ ul#nav li a:hover .ul#nav li ul {
|
|||
border-color: #50162D;
|
||||
}
|
||||
|
||||
.service-badge {
|
||||
position: absolute;
|
||||
width: 120px;
|
||||
top: 65px;
|
||||
right: 45px;
|
||||
font: 14px/40px Helvetica, Arial, sans-serif;
|
||||
color: white;
|
||||
text-align: center;
|
||||
text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.3);
|
||||
text-indent: -1px;
|
||||
letter-spacing: -1px;
|
||||
background: #8eb726;
|
||||
border-radius: 10px;
|
||||
padding: 0 10px;
|
||||
-webkit-box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
|
||||
box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
|
||||
transform: rotate(40deg);
|
||||
}
|
||||
|
||||
/* clients
|
||||
------------------------------------*/
|
||||
|
|
|
@ -11,10 +11,12 @@
|
|||
|
||||
<a href="{{ item.link }}">
|
||||
<h2>{{ item.title }}</h2>
|
||||
<p class="service">
|
||||
<p class="service">
|
||||
{{ item.text }}
|
||||
</p>
|
||||
</a>
|
||||
<div class="service-badge">{{ item.badge }}</div>
|
||||
|
||||
<a href="{{ item.button }}" class="service-btn">{{ item.buttontext }}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue