LoginSignup
1
3

More than 5 years have passed since last update.

BracketsでPSDをバラバラにする方法

Posted at

Extract for Brackets

こんな感じのPSDを...

extract04.png

HTML

HTML
<a href="" class="btn">お問い合せはこちらから</a>

CSS

CSS
.btn {
    font-size: 13px;
    color: #463c37;
    text-decoration: none;
    display: inline-block;
    padding: 15px 15px 15px 40px;
    background: url(images/icon_mail.png) no-repeat 15px 50%,
        -webkit-linear-gradient(90deg, #f7f2ee 0%, #ffffff 100%);
    background: url(images/icon_mail.png) no-repeat 15px 50%,
        -moz-linear-gradient(90deg, #f7f2ee 0%, #ffffff 100%);
    background: url(images/icon_mail.png) no-repeat 15px 50%,
        -o-linear-gradient(90deg, #f7f2ee 0%, #ffffff 100%);
    background: url(images/icon_mail.png) no-repeat 15px 50%,
        -ms-linear-gradient(90deg, #f7f2ee 0%, #ffffff 100%);
    background: url(images/icon_mail.png) no-repeat 15px 50%,
        linear-gradient(0deg, #f7f2ee 0%, #ffffff 100%);
    border-radius: 5px;
    border: 1px solid #d6bca4;
}

Images

icon_mail.png

一瞬でこんな感じにできます。

手順と完成品
http://blog.lqd.jp/html/001026.html

1
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
3