<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <style type="text/css"> .bg-grad { width: 400px; height: 150px; padding: 25px; border: 5px solid #000000; background: #000099; /* Webkit系 */ background: -webkit-gradient(linear, left top, left bottom, from(#ccccff), to(#000066)); /* Mozilla系 */ background: -moz-linear-gradient(top, #ccccff, #000066); /* IE10+ */ background: -ms-linear-gradient(t