<!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> <style type="text/css"> *{ margin: 0;padding: 0; } .wrap{ width: 100%; height: 300px; position: relative; } .wrap .top{ wid…
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style> #dakuang { width: 1000px; height: 30px; } #left, #right { height: 100%; float: left; } #left { background-color: red; /*width:…
<!doctype html><html lang="en"> <head> <meta charset="utf-8"> <title>抽奖活动</title> <style> * { margin: 0; padding: 0; } #title { color: red; text-align: center; margin: 0 auto; width: 240px; hei…
<!doctype html><html> <head> <meta charset="utf-8"> <title>无标题文档</title> <style> #div1 { width: 200px; height: 200px; background-color: #0F0; position: absolute } </style> <script> window.onl…
<!doctype html><html><head><meta charset="utf-8"><title>无标题文档</title><script>window.onload = function(){ var oTxt1 = document.getElementById("txt1"); var oTxt2 = document.getElementById("t…
<!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> <style> * { margin: 0 auto; } #kaishi { text-align: center; background-color: red; width: 300px; height: 100px; border: 1px solid black…
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style> .lala{ text-align: center; } </style> </head> <body> <div class="lala"> <input type="…
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>邮箱正则</title> </head> <body> <input type="text" id="Txt1" /> <input type="button" value="提交&quo…
css样式: #box{ width: 300px; height: 300px; background: deepskyblue; position: absolute; margin-right: 20px; }  html布局: <div id="box"></div> js部分: window.onload=function(){ abc(); setInterval(abc,50) function abc(){ var oDiv=document.g…
小程序吸顶效果 <!--index.wxml--> <view class="container"> <view class='outside-img'> <view class='outside-box'> <image class='show-eg-img' src='https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1…