把代码复制到页面显示天气
______________________________________________________________________________________________________
<iframe src="http://m.weather.com.cn/m/pn4/weather.htm " width="160" height="20" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" allowtransparency="true" scrolling="no"></iframe>
CSS3新特性
______________________________________________________________________________________________________
(1) webkit
(2) moz 火狐
border-radius : 20px;
-webkit-border-radius : 20px;
-moz-border-radius : 20px;
2,文本阴影 text-shodaw
text-shadow: x-offset y-offset blur color;
例:text-shadow: 2px 3px 2px #333;
3,盒阴影 box-shadow
-webkit-box-shadow: x-offset y-offset blur color;
-moz-box-shadow: x-offset y-offset blur color;
例:
4,颜色
background: rgba( red, green, blue, alpha);
前三个数值是 RGB 颜色的值, 最后一个数值指代的是元素的透明度 (0 表示透明, 1 表示不透明)
本文介绍如何使用HTML iframe标签展示在线天气信息,并深入探讨CSS3的新特性,包括圆角、文本阴影和盒阴影效果,以及RGBA颜色模式的应用。
1万+

被折叠的 条评论
为什么被折叠?



