谁能帮忙解释一下这段css什么意思

html-css07

谁能帮忙解释一下这段css什么意思,第1张

CSS滤镜的标识符是“filter”

语法是 filter:filtername(parameters)

parameters是表示各个滤镜属性的参数。

所以上面的alpha是滤镜名 Alpha滤镜是用来设置透明度的

后面的都是它的参数

opacity代表透明度等级,可选值从0~100 0代表完成透明 100代表完成不透明

style代表透明区域的形状特征。其中0代表统一形状 1代表线性 2代表圆形放射渐变 3代表矩形放射渐变

完全手打的 碰巧今天刚学到这个 行个好 分给我吧

当输入url地址后网页出现:Fatal error: Uncaught exception 'SmartyCompilerException'

with message 'Syntax Error in template

"E:\wamp\www\cms\system/templates/index.html" on line 79

"$("#job").load("./system/templates/touch/test.php",{catid:3})" -

Unexpected ":", expected one of: "}" , " "' in

E:\wamp\www\cms\system\Smarty\sysplugins\smarty_internal_templatecompilerbase.php

on line 441这样的问题,通常是css和js的{}与smarty定界符冲突导致的。

解决办法有两个:

1.可以把 smarty 的定界符设成 <{ }>

复制代码 代码如下:

$tpl->left_delimiter = '<{'

$tpl->right_delimiter = '}>'

2.对于js的{}与smarty定界符冲突,可以用smarty的literal处理,可以把JS代码包含在{literal}{/literal}之间就可以了。

复制代码 代码如下:

<{literal}>

$ (

<span style="white-space:pre"></span>function () { alert ('培训课程')}

)

<{/literal}>

DIV加CSS和TABLE不一样,数字后面必须注明单位。

如果实际应用中的话,这样效果我建议还是使用图片比较好。

<!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" >

<head>

<title>Untitled Page</title>

<style>

body, table, div {

font-size :200pt

color:#00800

font-weight:bold

}

</style>

</head>

<body bgcolor ="6094FF">

<div style ="position :absolute top:10pxleft:167px width:268pxheight:267pxz-index:1"><span style ="font-size :200ptcolor:Red ">█</span></div>

<div style="position :absolute top:10pxleft:284px width:268pxheight:267pxz-index:1"><span style ="font-size :200ptcolor:Red ">█</span></div>

<div style="position :absolute top:85pxleft:232px width:68pxheight:67pxz-index:7"><span style ="font-size :50ptcolor:yellow ">★</span></div>

<div style="position :absolute top:153pxleft:297px width:17pxheight:17pxz-index:7"><span style ="font-size :12ptcolor:yellow ">★</span></div>

<div style="position :absolute top:120pxleft:316px width:17pxheight:17pxz-index:7"><span style ="font-size :12ptcolor:yellow ">★</span></div>

<div style="position :absolute top:84pxleft:309pxwidth:17pxheight:17pxz-index:7"><span style ="font-size :12ptcolor:yellow ">★</span></div>

<div style="position :absolute top:63pxleft:278px width:20pxheight:17pxz-index:7"><span style ="font-size :12ptcolor:yellow ">★</span></div>

<div style="position :absolute top:204pxleft:142px width:135pxheight:267pxz-index:7"><span style ="font-size :200ptcolor:red ">▏</span></div>

<span style="position :absolute top:26pxleft:79px width:82pxheight:80pxz-index:10"><span style =" font-family :Webdings font-size :60ptcolor :White "></span></span>

</body>

</html>