萬盛學電腦網

 萬盛學電腦網 >> 網頁制作 >> Html5 >> html星星從背景中飛出特效代碼

html星星從背景中飛出特效代碼

大家知道html星星從背景中飛出特效嗎?下面我們就給大家詳細介紹一下吧!我們積累了一些經驗,在此拿出來與大家分享下,請大家互相指正。

<html>

<head>

<title>網頁特效--星星從背景中飛出</title>

<style type="text/css">

<!--

body {  font-family: "宋體"; font-size: 9pt; margin-top: 0px; margin-left: 4px; margin-right: 0px}

A { COLOR: black; FONT-SIZE: 13px; FONT-WEIGHT: 400; TEXT-DECORATION: none }

A:hover { COLOR: red; FONT-SIZE: 13px; FONT-WEIGHT: 400; TEXT-DECORATION: underline }

a:active     { font: 9pt "宋體"; cursor: hand; color: #FF0033 }

--></style>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<style type="text/css">

.star {

position:absolute;

layer-background-color:white;

visibility:visible;

top:-50px;

width:50px;

height:50px;

font-size:1px;

background-color:white;

}

copyright © 萬盛學電腦網 all rights reserved