CSS3: Tạo tam giác với CSS3
Code tham khảo:
<!DOCTYPE html> <html> <head> <title>Tạo tam giác với CSS</title> <style type="text/css"> span:before{ content: ''; position: absolute; width: 0; height: 0; display: block; border-top: none; border-bottom: 200px solid #11b400; border-left: 100px solid transparent; border-right: 100px solid transparent; } </style> </head> <body> <span>V1Study</span> </body> </html>