- Tham gia
- 28/02/2015
- Bài viết
- 16,829
- Được Like
- 12,721
Làm username màu cầu vòng cho usergroup
Cách làm như sau: Vào ACP >>User >>User Groups >>Chọn group bạn muốn làm tên 7 màu và chèn đoạn code dưới vào User Name CSS
Demo
Chúc các bạn thành công.
Cách làm như sau: Vào ACP >>User >>User Groups >>Chọn group bạn muốn làm tên 7 màu và chèn đoạn code dưới vào User Name CSS
Mã:
background-image: -webkit-gradient( linear, left top, right top, color-stop(0, #f22), color-stop(0.15, #f2f), color-stop(0.3, #22f), color-stop(0.45, #2ff), color-stop(0.6, #2f2),color-stop(0.75, #2f2), color-stop(0.9, #ff2), color-stop(1, #f22) );
background-image: gradient( linear, left top, right top, color-stop(0, #f22), color-stop(0.15, #f2f), color-stop(0.3, #22f), color-stop(0.45, #2ff), color-stop(0.6, #2f2),color-stop(0.75, #2f2), color-stop(0.9, #ff2), color-stop(1, #f22) );
color:transparent;
-webkit-background-clip: text;
background-clip: text;
font-weight: bold;
Demo
Nguồn: vnnet.org
Bài viết liên quan
Bài viết mới