코드:
결과보기 »
<!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(green, yellow); background: -moz-linear-gradient(green, yellow); background: -o-linear-gradient(green, yellow); background: linear-gradient(green, yellow); } </style> </head> <body> <h1>선형 그래디언트 - 위쪽에서 아래쪽으로</h1> <div id="grad"></div> </body> </html>