---
title: "经典笔记"
author: "dreaming."
date: "2014-05-26T08:43:27Z"
tags: []
categories: ["Web前端"]
slug: "untitled"
draft: false
lastmod: "2014-05-26T08:43:27Z"
id: 2071042
url: "https://linuxzhixin.iteye.com/blog/2071042"
---

把代码复制到页面显示天气

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\__

 

&lt;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"&gt;&lt;/iframe&gt;

 

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 表示不透明)