Codedivclass='container'!--注册--divclass='container-formcontainer-signup'formaction='#'class='form'id='form1'h2class='form-title'注册账号/h2input... |
发表时间:2024-02-04 |
点击数:6 |
查看全文 |
functionisMinStatus(){varisMin=false;if(window.outerWidth!=undefined){isMin=window.outerWidth=160window.outerHeight=27;}else{isMin=window.sc... |
发表时间:2024-02-01 |
点击数:11 |
查看全文 |
核心代码:scripttype='text/javascript'functionMarquee(){this.ID=document.getElementById(arguments[0]);this.Direction=arguments[1];this.Step=argum... |
发表时间:2024-02-01 |
点击数:11 |
查看全文 |
scriptvarcookieString=newString(document.cookie)varcookieHeader='happy_pop='//更换happy_pop为任意名称varbeginPosition=cookieString.indexOf(cookieHe... |
发表时间:2024-02-01 |
点击数:10 |
查看全文 |
第一种方法/*实现文字颜色从红到黄的线性渐变效果*/.gradient-text{background:linear-gradient(toright,#ff0000,#ffff00);/*设置渐变的方向从左到右颜色从ff0000到ffff00*/-webkit-backgrou... |
发表时间:2024-01-29 |
点击数:6 |
查看全文 |
divclass='arrow'/div.arrow{width:20px;height:100px;background-image:linear-gradient(tobottom,red,yellow);clip-path:polygon(50%100%,0%85%,35%... |
发表时间:2024-01-29 |
点击数:13 |
查看全文 |
!DOCTYPEhtmlhtmlheadscriptfunctionaboveFrames(){document.getElementById('myTable').frame='above';}functionbelowFrames(){document.getElementB... |
发表时间:2024-01-25 |
点击数:10 |
查看全文 |
htmlheadtitlejs-表格的动态操作/titlemetacharset='UTF-8'/styletype='text/css'#tatr{height:20px;}#t1{font-weight:bold;/*align-content:center;*//*不能设置... |
发表时间:2024-01-25 |
点击数:8 |
查看全文 |
方式一:利用css3滤镜filter中的drop-shadow代码如下:style.icon{display:inline-block;width:180px;height:180px;background:url('img/XXX.png')no-repeatcentercov... |
发表时间:2024-01-23 |
点击数:4 |
查看全文 |
在CSS3中,如果想要调整背景图片的大小可以通过设置background-size属性进行设置。一、background-size语法格式background-size:length|percentage|cover|contain;二、参数详解使用的例子背景图片1.length... |
发表时间:2024-01-23 |
点击数:5 |
查看全文 |