코드:
결과보기 »
<!DOCTYPE html> <html lang="ko"> <head> <meta charset="UTF-8"> <title>CSS3 Linear Gradients</title> <style> #grad { height: 200px; background: green; background: -webkit-linear-gradient(225deg, green, yellow); background: -moz-linear-gradient(225deg, green, yellow); background: -o-linear-gradient(225deg, green, yellow); background: linear-gradient(225deg, green, yellow); } </style> </head> <body> <h1>선형 그래디언트 - 225도 진행 방향</h1> <div id="grad"></div> </body> </html>