Follow US

Lifestyle

Sports

Gallery

Latest Post

Technology

About US

Random Posts

Business

Popular Posts

Email Me

Email mehere

About Me

Duis turpis tellus, commodo non dapibus quis, gravida ut lacus. Praesent cursus, elit blandit mollis pharetra, arcu justo dignissim nulla, sed.

Image: Louisa Stokes / FreeDigitalPhotos.net

Learn more

My Friends

Follow Me

Popular Posts

Menu

Hiệu ứng đổi màu chữ bằng CSS3

Hiện nay! việc ứng dụng CSS3 và HTML5 vào Website khá nhiều. Trước kia để làm 1 hiệu ứng hầu như phải sử dụng tới Javascrip, cho đến nay thì CSS3 đã được thay thế hầu hết với khả năng tương thích và tốc độ load nhanh. HTML5 & CSS3 đang chiếm lĩnh thị trường thiết kế Web, Blogspot hiện nay.
Vậy ở bài ngày hôm nay, Tác giả cũng muốn chia sẻ cho bạn đọc thêm 1 trải nghiệm thú vị với TEXT. Đây là 1 hiệu úng chữ đơn giản nhưng khá độc đáo.

Hiệu ứng đổi màu chữ bằng CSS3
Ảnh minh họa


Cách thực hiện rất đơn giản , các bạn chỉ cần dán đoạn code sau vào nơi cần hiển thị và save lại là xong
<p class='tieudequanba'><b>iChiaSe.Biz</b><br/>Thiết Kế Web/Blogger Chuyên nghiệp
</p>
<style>
.tieudequanba {
float: left;
width: 100%;
text-align: center;
font: 18px 'Roboto Condensed',sans-serif;
line-height: 1.4;
color: #555;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC3b_4tTkHQC1f1054KJehe4IN3KRBEG40vde4bqZMwJhb6T8JduSgEpYwYdr2mohthedlwqTLwp5-pDc5MkvLgzNLoWBulHZMBoKQgB6YcCrrYrjHGDFPEh5JqjGvDeamEso7x8k1YnwU/s0/Titler_sanpham.png) no-repeat center 0px;
padding-top: 65px;
padding-bottom: 45px;
}
p.tieudequanba b {
font: 28px 'Roboto Condensed',sans-serif;
text-transform: uppercase;
background: #226BA5 -webkit-gradient(linear, left top, right top, from(#EC3C51), to(#F11150), color-stop(0.5, #F5FF00)) 0 0 no-repeat;
color: rgba(255, 255, 255, 0.1);
font-weight: bold;
position: relative;
-webkit-animation: shine 2s infinite;
-webkit-background-clip: text;
-webkit-background-size: 300px;
}
@-webkit-keyframes shine {
0% {
background-position: top left;
}
100% {
background-position: top right;
}
}
</style>
Nguồn : ThaiAiTi.Com

Bài viết liên quan

Nhận xét Bình luận



0 nhận xét "Hiệu ứng đổi màu chữ bằng CSS3"


Hỗ trợ - Liên hệ
  • Tư vấn - Robbie Tiến

    Call: 0932169882

    robbietien@gmail.com

    skype Robbie Tiến

  • Kỹ thuật - Robbie Tiến

    Call: 0932.169.882

    robbietien@gmail.com

    skype Robbie Tiến

  • Kỹ Thuật - Robbie Tiến

    Call: 0932.169.882

    robbietien@gmail.com

    skype robbietien

Back To Top