在线教程

  • css gradients

    ... gt; | <length> ]? div{ background-image: radial-gradient(red, yellow); padding: 1rem; width: 300px;} <div>This looks like the sun, doesn't it?</div> This looks like the sun, doesn't it? 缺省情况下: 渐变形状是椭圆(ellipse) 第一个 ...

  • js syntax basics

    ... 或false。而大括号中的语句只在条件为true的时候被执行。 我们可以给if语句添加else语句来表示不满足条件时如何处理: if (1 > 2) { alert("Sun rises from west."); } else { alert("All is well with the world"); } 比较操作符(Comparison operators) 比较操作符通常使用在条件语句中。比如等于(==), 不等于(!=), 大于(>), 小于(=), 和小于等于(=5 && num ...

推广服务(新)
最新文章