<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>Document</title> </head> <style type="text/css"> .box { width:500px; Height : 300px ; background-Color : Red ; -moz-border-the RADIUS : 15px ; / * Firefox * / -webkit the RADIUS-border- : 15px ; / * Safari and Chrome * / border-the RADIUS : 15px ; / * Opera 10.5+, and the use of the IE-CSS3 in IE * / -moz-Box-Shadow : 10px 10px 20px # 000 ; / * Firefox * / -webkit-Box-Shadow : 10px 10px 20px # 000 ; / *Safari and Chrome * / Box-Shadow : 10px 10px 20px # 000 ; / * Opera 10.5+, and the use of the IE-CSS3 in IE * / behavior : url (IE-css3.htc) ; / * notification IE browser acting on the calling script 'box' type * / } </ style > < body > < div class = 'box' > </ div > </ body > </ HTML >
Source text address: http://www.zhangxinxu.com/wordpress/?p=783
Reproduced in: https: //www.cnblogs.com/positive/p/3892402.html