html5 css 写九九乘法表加动画
来源:互联网 发布:简述什么是波士顿矩阵 编辑:程序博客网 时间:2024/06/08 14:44
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>day-7</title>
<style type="text/css">
table{
width: 600px;
cellspacing:5px;
}
table td{
border: #000 #B9181A 2px solid;
text-align: center;
border-radius: 25px;
border-spacing: 5px;
cellspacing:5px;
}
table tr td {
color: #2D0DF9;
background-color: gold;
-webkit-border-radius: 15px;
transition:transform 3s;
}
#div1{
background-color: darkgoldenrod;
width: 600px;
height: 200px;
border-radius: 25px;
}
table tr td:hover {
transform: rotate(360deg);
background-color: gold;
}
table {
border-spacing: 15px;
}
#h3{
text-align: center;
font-family: Baskerville, Palatino Linotype, Palatino, Century Schoolbook L, Times New Roman, serif;
color: blue;
font-size: 20px;
}
#br{
text-align: right;
font-family: Baskerville, Palatino Linotype, Palatino, Century Schoolbook L, Times New Roman, serif;
color: #000000;
}
</style>
<!--<h1 style="text-align: center">九九乘法表</h1>
<script language=javascript>
var i,j;
for(i=1;i<10;i++){
for(j=1;j<10;j++){
document.write (" "+i+"*"+j+"="+i*j+" ");
if(i==j) {document.write ("<BR>"); break;}}
}
</script>-->
</head>
<body background="images/img1.jpg">
<table cellpadding="12">
<caption><h1>九九乘法表</h1></caption>
<script type="text/javascript">
for(var x = 1;x<=9;x++)
{
document.write("<tr>");
for(var y = 1; y <= x;y++){
document.write("<td>"+y+"x"+x+"="+y*x+"</td>");
}
document.write("</tr>");
}
</script>
</table>
<div class="div">
<h1>学习心得</h1>
<div id="div1">
<h3 id="h3">一分耕耘,一分收获</h3>
<br>今天学习了表格,还自己打了一个九九乘法表,还加了动画,感觉还是很有收获。。。。
<div id="br"><br>2017-7-19
<br>Sunny
</div>
</div>
</div>
</body>
</html>
阅读全文
0 0
- html5 css 写九九乘法表加动画
- html5 css js轮播图动画
- css加js动画的几个解决方案
- css+html5仿写淘宝首页
- html5+css+js实现动画特效,人物动画
- 用指针写九九乘法表
- jsp写九九乘法表
- js写九九乘法表
- JS写九九乘法表
- delphi写的九九乘法表
- java写的九九乘法表
- Java写九九乘法表
- 用js写九九乘法表
- 用java写九九乘法表
- 使用struts2写九九乘法表
- 用CSS制作九九乘法表
- CSS写太极和魔方动画效果
- 纯CSS写的加载动画--圆球搜索加载动画
- HDU 4253 Two Famous Companies
- 剑指Offer——(35)数组中的逆序对
- zend studio7.2.1+破解教程
- 破解PowerDesigner16.5
- 2016腾讯笔试
- html5 css 写九九乘法表加动画
- HDU3336 next数组性质
- bootstrap进度条媒体对象和Well组件
- abstract
- SQL优化:一篇文章说清楚Oracle Hint的正确使用姿势
- Spring整合Ehcache管理缓存
- java运算符优先级记忆口诀
- IK分词原理深度解析
- uva 10763