CSS动态文本怎么做

html-css015

CSS动态文本怎么做,第1张

<style>

.style1{font-size:12px}

.style2{font-size:14px}

</style>

<p

onmouseover="this.className='style1'"

onmouseout=

"this.className='style2'">内容</p>

按照你上面写的基本上就是这样了

其实不需要使用ONMOUSER也能实现,当然那也是要有先决条件的

不多说了,有什么可以在问

<marquee airection="left" loop="-1" scrollamount="2" onmouseover=stop() onmouseout=start()>在此加入文字</marquee>