Teasers for DB
by Vladimir
HTML
<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" href="https://droidbug.com/wp-content/themes/mobistore/css/gridb.css" />
<style>
body {
background: #888;
font-family: sans-serif;
}
.card-link,
.card-link:hover {
color: #000;
text-decoration: none;
}
.card {
background: #fff;
border-radius: 5px;
box-shadow: 0 1px 3px rgba(0,0,0,0.5);
overflow: hidden;
margin: 0 0 10px;
height: 100px;
}
.icon-block {
width: 100px;
height: 100px;
position: absolute;
border-radius: 5px 0 0 5px;
}
.icon-block img {
position: absolute;
width: 60px;
height: 60px;
top: 50%;
left: 50%;
margin: -30px 0 0 -30px;
}
.app-meta {
margin: 0 0 0 100px;
position: relative;
height: 100px;
background: rgba(255,255,255,0.8);
}
.app-title {
text-align: center;
padding: 10px 5px 0;
height: 48px;
overflow: hidden;
}
.app-meta-box {
position: absolute;
left: 5px;
right: 5px;
bottom: 0;
border-top: 1px solid #AAA;
text-align: center;
font-size: 0.9em;
padding-top: 5px;
}
.app-rate-wrapper {
padding: 3px 0 0;
}
.app-rate-wrapper img {
width: 16px;
}
.var-1 {
background-image: linear-gradient(45deg, #2e3192, #1bffff);
}
.var-2 {
background-image: linear-gradient(45deg, #662d8c, #ed1e79);
}
.var-3 {
background-image: linear-gradient(45deg, #00a8c5, #ffff7e);
}
.var-4 {
background-image: linear-gradient(45deg, #312a6c, #852d91);
}
/* TRASH */
.container {
background: #fff;
}
aside {
background: #ddd;
}
</style>
</head>
<body>
<div class="container">
<div class="row">
<main class="col-md-9">
<div class="row">
<div class="col-lg-4 col-sm-6">
<a href="#" class="card-link">
<article class="card var-1">
<div class="icon-block">
<img src="https://droidbug.com/wp-content/uploads/fly-images/40255/razvivayuschie_igry-150x150-c.png" alt="">
</div>
<header class="app-meta">
<div class="app-title">Развивающие игры для детей</div>
<div...