JSFiddle - React, Tailwind, and code Playground
by mrcoles
HTML
<div class="ddcrd">
<div class="prom prom140"> <span class="gspr">34% OFF</span>
<i class="gspr"></i>
<i class="gspr folw"></i>
</div> <a class="icon" href="http://www.ebay.it/itm/130907995518?item=130907995518?_trksid=p2050601.m2174&_trkparms=" target="_blank">
<img src="http://i.ebayimg.com/00/s/NTAwWDUwMA==/$(KGrHqEOKooFF0ofrGy1BRkQ8jF-Vw~~60_91.JPG"/>
</a>
<a class="tl" href="http://www.ebay.it/itm/130907995518?item=130907995518?_trksid=p2050601.m2174&_trkparms=" target="_blank">Notebook Toshiba 320GB 4GB RAM</a>
<div class="info"> <span class="prc">EUR 279,00</span>
</div>
</div>
<p><strong>Scroll to the bottom of the CSS to see the custom changes.</strong></p>
CSS
.dydl .ddcrd {
padding: 15px 5px 0 5px;
border-bottom: 1px solid #CCC;
}
.ddcrd {
height: 268px;
position: relative;
}
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-weight: normal;
font-size: 100%;
}
.prom140 {
top: -6px;
left: -5px;
width: 106px;
height: 82px;
}
.prom {
right: 128px;
overflow: hidden;
padding: 12px 0 0 0;
color: #fff;
text-align: center;
position: absolute;
}
.prom140 {
width: 106px;
height: 82px;
left: -5px;
top: -6px;
}
.prom {
position: absolute;
text-align: center;
right: 128px;
padding: 12px 0 0 0;
color: #fff;
overflow: hidden;
}
.ddcrd .icon {
width: 220px;
display: block;
text-align: center;
vertical-align: middle;
height: 220px;
line-height: 220px;
}
a:visited {
color: #6a29b9;
text-decoration: none;
}
a, a:link {
color: #0654ba;
text-decoration: none;
}
a:visited {
color: #731077;
text-decoration: none;
}
a, a:link {
color: #1958bd;
text-decoration: none;
}
a {
color: #0654ba;
text-decoration: none;
}
a, a:link {
color: #0654ba;
text-decoration: none;
}
a, a:link {
color: #1958bd;
text-decoration: none;
}
.ddcrd .tl {
margin: 0 10px;
color: #000;
display: block;
font-size: 12px;
height: 12px;
overflow: hidden;
}
.ddcrd .icon img {
max-width: 220px;
max-height: 220px;
vertical-align: middle;
}
.prom140 span.gspr {
top: 12px;
left: -30px;
margin: 1px 0 0 1px;
padding-top: 4px;
height:...