I
I
Immix2015-10-05 14:03:53
css
Immix, 2015-10-05 14:03:53

How to make this piece right?

7c778325e02f437cbcd42822d50fb0e1.PNG
1. Add a picture through the background and a sharp corner on the left with indents / positioning?
2. Or just create a jpg image and add it with background?
SALE inscription how? The designer indicated that this is text, but I don’t know how to convert it like that
1. Or just create a jpg image and add it using background?
2. Add like text using opacity to make it transparent?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vitaly Inchin ☢, 2015-10-05
@Immix

Write SALE in huge letters, put it on the paddingleft and below, then make the triangle a pseudo-element.
Example: jsfiddle.net/In4in/zsbvxere
Either put the inline element in a large block, with the text aligned to the right side.
Example: jsfiddle.net/In4in/zsbvxere/1

G
Gregory, 2015-10-05
@grigruss

I would do something like this.
css

div.left-baloon{
    background:url('file-with-left-riece-of-baloon.png')no-repeat center;
    min-width:20px;
    min-height:200px;
    float:left;
}
div.right-baloon{
    background:#00f; /* код цвета найти не проблема */
    min-height:200px;
}
p.sale{
    opacity:0.3;
    font-size:72pt;
    font-famili:Arial;
}

HTML
<div><div class="left-baloon"/><div class="right-baloon"><p class="sale">SALE</p></div></div>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question