Hot File

Create colorful buttons with CSS3 and RGBA

View: 432    Dowload: 0   Comment: 0   Post by: hanhga  
Author: none   Category: References   Fields: Other

8 point/4 review File has been tested

One of the things I enjoy most about CSS3 as the addition of allowing use of the color RGBA. Today we will create a colorful button without having to use any images or photoshop technique. First we need to create the framework for this button in HTML, you can consult the following HTML snippet:

Introduction

button, css3, nút bấm rgba, thiet ke web, thu thuat css

One of the things I enjoy most about CSS3 as the addition of allowing use of the color RGBA. Today we will create a colorful button without having to use any images or photoshop technique. First we need to create the framework for this button in HTML, you can consult the following HTML snippet:

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
45
46
47
48
49
50
51
<div>
 
<a>Super Awesome Button &raquo;</a> <br /><br />
 
<a>Awesome Blue Button &raquo;</a> <br /><br />
 
<a>Awesome Magenta Button &raquo;</a> <br /><br />
 
<a>Awesome Red Button &raquo;</a> <br /><br />
 
<a>Awesome Orange Button &raquo;</a> <br /><br />
 
<a>Awesome Yellow Button &raquo;</a>
 
</div>
 
 
 
<div>
 
<a>Super Awesome Button &raquo;</a> <br /><br />
 
<a>Awesome Blue Button &raquo;</a> <br /><br />
 
<a>Awesome Magenta Button &raquo;</a> <br /><br />
 
<a>Awesome Red Button &raquo;</a> <br /><br />
 
<a>Awesome Orange Button &raquo;</a> <br /><br />
 
<a>Awesome Yellow Button &raquo;</a>
 
</div>
 
 
 
<div>
 
<a>Super Awesome Button &raquo;</a> <br /><br />
 
<a>Awesome Blue Button &raquo;</a> <br /><br />
 
<a>Awesome Magenta Button &raquo;</a> <br /><br />
 
<a>Awesome Red Button &raquo;</a> <br /><br />
 
<a>Awesome Orange Button &raquo;</a> <br /><br />
 
<a>Awesome Yellow Button &raquo;</a>
 
</div>

We've got the button, but the button is still just the snippets of text, we will color for the button, you copy the following css snippet:

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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
.column, .columns {
 
display: inline;
 
float: left;
 
margin: 0 0 0 20px;
 
}
 
 
 
.awesome, .awesome:visited {
 
background: #222 url(alert-overlay.png) repeat-x;
 
display: inline-block;
 
padding: 5px 10px 6px;
 
color: #fff;
 
text-decoration: none;
 
-moz-border-radius: 5px;
 
-webkit-border-radius: 5px;
 
-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
 
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
 
text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
 
border-bottom: 1px solid rgba(0,0,0,0.25);
 
position: relative;
 
cursor: pointer;
 
}
 
 
 
.awesome:hover{ background-color: #111; color: #fff; }
 
.awesome:active{ top: 1px; }
 
.small.awesome, .small.awesome:visited{ font-size: 11px; padding: ; }
 
.awesome, .awesome:visited,
 
.medium.awesome, .medium.awesome:visited{ font-size: 13px;
 
font-weight: bold; line-height: 1;
 
text-shadow: 0 -1px 1px rgba(0,0,0,0.25); }
 
.large.awesome, .large.awesome:visited{ font-size: 14px; padding: 8px 14px 9px; }
 
 
 
.green.awesome, .green.awesome:visited{ background-color: #91bd09; }
 
.green.awesome:hover{ background-color: #749a02; }
 
.blue.awesome, .blue.awesome:visited{ background-color: #2daebf; }
 
.blue.awesome:hover{ background-color: #007d9a; }
 
.red.awesome, .red.awesome:visited{ background-color: #e33100; }
 
.red.awesome:hover{ background-color: #872300; }
 
.magenta.awesome, .magenta.awesome:visited{ background-color: #a9014b; }
 
.magenta.awesome:hover{ background-color: #630030; }
 
.orange.awesome, .orange.awesome:visited{ background-color: #ff5c00; }
 
.orange.awesome:hover{ background-color: #d45500; }
 
.yellow.awesome, .yellow.awesome:visited{ background-color: #ffb515; }
 
.yellow.awesome:hover{ background-color: #fc9200; }

Up to now, we've got the full button with full color, hope this article will help you to have more options than in the design of your blog or website.

Create colorful buttons with CSS3 and RGBA

Create colorful buttons with CSS3 and RGBA Posted on 08-07-2015  One of the things I enjoy most about CSS3 as the addition of allowing use of the color RGBA. Today we will create a colorful button without having to use any images or photoshop technique. First we need to create the framework for this button in HTML, you can consult the following HTML snippet: 2/10 432

Comment:

To comment you must be logged in members.

Files with category

  • Instructions for installing and configuring Windows Live Mail on Windows 10 simple

    View: 2535    Download: 0   Comment: 0   Author: none  

    Instructions for installing and configuring Windows Live Mail on Windows 10 simple

    Category: References
    Fields: Other

    0/2 review
    Windows 10 pre-installed Mail application for managing personal email on the device. The latest version of this application but improved a lot and support other email accounts such as Gmail or Yahoo Mail but users almost no "salty" really with this...

  • Step by step instructions to create social networking buttons with CSS3

    View: 1840    Download: 0   Comment: 0   Author: none  

    Step by step instructions to create social networking buttons with CSS3

    Category: References
    Fields: Other

    0.75/6 review
    CSS3 help web designers have the ability to create buttons (buttons) very nice, today I will share with you two tips decoration for button in your web becomes radiant beauty that no need to use photoshop.

  • You should understand the CSS Box Shadow

    View: 1998    Download: 0   Comment: 0   Author: none  

    You should understand the CSS Box Shadow

    Category: References
    Fields: Other

    1.3181818181818/11 review
    Effects his shadow was introduced in the previous article, however, in this article, I will guide more specific about shadow attributes, you try it with anything. First we try to learn css following paragraph:

  • How to do button movement with beautiful CSS3

    View: 1671    Download: 0   Comment: 0   Author: none  

    How to do button movement with beautiful CSS3

    Category: References
    Fields: Other

    0/4 review
    Previously to create motion effects button, you must draw the button in photoshop, then switched to flash to make it possible to move. But now you need not spend too much time doing it, all because of the emergence of CSS3.

  • Create a dropdown menu with CSS3 effects with beautiful transtions

    View: 1962    Download: 0   Comment: 0   Author: none  

    Create a dropdown menu with CSS3 effects with beautiful transtions

    Category: References
    Fields: Other

    0.45/10 review
    More of the dropdown menu you want to introduce to you, this will have the effect menu transitions (converted background of menu background from pale to dark). This menu works well on browsers like FF, Chrome, Safary, but unfortunately did not work...

  • How to hack css for all browsers you should know

    View: 1590    Download: 0   Comment: 0   Author: none  

    How to hack css for all browsers you should know

    Category: References
    Fields: Other

    1.6875/8 review
    In the process of web design, which makes it the most headaches is how to design web pages that you can run on the browser. Especially when clients use the old as IE6 browser such. However, with this article, you will easily edit interface runs well...

  • Create Accordion with extremely beautiful CSS3

    View: 1982    Download: 0   Comment: 0   Author: none  

    Create Accordion with extremely beautiful CSS3

    Category: References
    Fields: Other

    0.9/5 review
    Accordion is a technique that helps you shortened the content that you want displayed on the website. It is often used for the display of submenus. In addition you can also use it for content, images. Before applying this procedure, you have to use...

  • Create the effect Hovercho images with Webkit and CSS3 is great

    View: 1690    Download: 0   Comment: 0   Author: none  

    Create the effect Hovercho images with Webkit and CSS3 is great

    Category: References
    Fields: Other

    1.125/4 review
    WebKit is one open source application framework provides the necessary components built one for your web browser. Along with CSS3, cả have contributed to very nice effect những previously only using JavaScript or JQuery thực beige.​

 
Newsletter Email

File suggestion for you

File top downloads

logo codetitle
Codetitle.com - library source code to share, download the file to the community
Copyright © 2015. All rights reserved. codetitle.com Develope by Vinagon .Ltd