Loading...

Using LESS View

Photoshop layers to LESS with clean and clear code becomes simple with Layer Kit – LESS View. Translate your PSD layers to LESS with advanced support for text, images and shapes.

Get Layer Kit Pro to add layer effects, imaging options and more with LESS View.

Example Image Element

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
Export Kit - LESS Mixins
----------------------------
Required Once
----------------------------
*/
 
.area(@x,@y,@width,@height){
    top:@y;
    left:@x;
    width:@width;
    height:@height;
}
 
/*----------mixins------------*/
 
@button_copy_top:240px;
@button_copy_left:446px;
@button_copy_width:310px;
@button_copy_height:166px;
 
#button_copy {
 
    .area(@button_copy_left,@button_copy_top,@button_copy_width,@button_copy_height);
    background:url(../skins/ek125_303_layer_effects/button_copy.png);
}

Example Text Element

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
Export Kit - LESS Mixins
----------------------------
Required Once
----------------------------
*/
 
.area(@x,@y,@width,@height){
    top:@y;
    left:@x;
    width:@width;
    height:@height;
}
 
/*----------mixins------------*/
 
@text_top:501px;
@text_left:132px;
@text_width:227px;
@text_height:90px;
@text_fontColor:#FFFFFF;
@text_fontFamily:"Arial, 'Helvetica Neue', Helvetica, sans-serif";
@text_fontSize:68px;
@text_fontWeight:bold;
@text_textAlign:left;
 
#text {
 
    .area(@text_left,@text_top,@text_width,@text_height);
    font-family:@text_fontFamily;
    font-size:@text_fontSize;
    font-weight:@text_fontWeight;
    text-align:@text_textAlign;
    color:@text_fontColor;
}

Example Shape Element

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
Export Kit - LESS Mixins
----------------------------
Required Once
----------------------------
*/
 
.area(@x,@y,@width,@height){
    top:@y;
    left:@x;
    width:@width;
    height:@height;
}
 
.radius(@radius:5px){
    border-radius:~"@{radius}";
    -moz-border-radius:~"@{radius}";
    -ms-border-radius:~"@{radius}";
    -o-border-radius:~"@{radius}";
    -webkit-border-radius:~"@{radius}";
}
 
/*----------mixins------------*/
 
@button_bg_top:449px;
@button_bg_left:72px;
@button_bg_width:310px;
@button_bg_height:159px;
@button_bg_radius:"30px";
@button_bg_color:#CE3636;
 
#button_bg {
 
    .area(@button_bg_left,@button_bg_top,@button_bg_width,@button_bg_height);
    .radius(@button_bg_radius);
    background:@button_bg_color;
}

Pro Features

Using Layer Kit Pro, you can customize the LESS View to include additional information with the PSD layer such as effects, advanced text rendering and more.

Example Layer Effects

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
Export Kit - LESS Mixins
----------------------------
Required Once
----------------------------
*/
 
.area(@x,@y,@width,@height){
    top:@y;
    left:@x;
    width:@width;
    height:@height;
}
 
.radius(@radius:5px){
    border-radius:~"@{radius}";
    -moz-border-radius:~"@{radius}";
    -ms-border-radius:~"@{radius}";
    -o-border-radius:~"@{radius}";
    -webkit-border-radius:~"@{radius}";
}
 
.inset-box-shadow(@xs:10px,@ys:10px,@blur:5px,@spread:0,@color:#000){
    box-shadow:inset @arguments;
    -moz-box-shadow:inset @arguments;
    -webkit-box-shadow:inset @arguments;
}
 
/*----------mixins------------*/
 
@button_bg_top:663px;
@button_bg_left:819px;
@button_bg_width:315px;
@button_bg_height:160px;
@button_bg_radius:"30px";
@button_bg_color:#CE3636;
 
#button_bg {
 
    .area(@button_bg_left,@button_bg_top,@button_bg_width,@button_bg_height);
    .radius(@button_bg_radius);
    .inset-box-shadow(0px ,15px ,10px ,0px ,rgba(0,0,0,0.75));
    background:@button_bg_color;
}

Example Inline Content

1
2
3
4
5
6
7
#button_bg {
 
    .area(819px,663px,315px,160px);
    .radius("30px");
    .inset-box-shadow(0px ,15px ,10px ,0px ,rgba(0,0,0,0.75));
    background:#CE3636;
}

LOGIN NOW: Get instant access to our free Online Training - click here.

Using the Plugin

How To Guides

Help Us Improve


We aim to keep our content relevant with useful information, examples, samples and links. Tell us what you think!

I found the content:

Helpful
Confusing
Outdated
Broken Links
Bad Spelling
Too Short
Too Long

This page needs:

Nothing
Better Content
Links
Examples
Videos

Free Download


Responsive Multi-Page Website

A clean responsive website with multiple pages +target screens.

Start Your 14 Day Free Trial

Get instant access to your 14 Day Free Trial and Free Online Training. We guarantee your first conversion will 100% work - we work with you to ensure this, Contact Us or check the Community FAQs for assistance.

Connect With Us

Black Friday Sale get 60% Off everything - Shop Now.