我有三个表,我想在MySQ中查询.如下:
**Table: Leaderboard**
Name | Score
------------
James | 1
Steve | 2
Dave | 5
**Table: Actions**
Name | Action | Time
----------------------------
James | Ate an apple | 01:00
James | Kicked a dog | 02:00
Steve | Ate a dog | 03:00
Steve | Kicked a hen | 01:00
Dave | died | 02:00
**Table: Items**
Name | Item | Time
----------------------------
James | Chainsaw | 01:00
James | Hammer | 01:05
James | Crowbar | 01:10 …Run Code Online (Sandbox Code Playgroud) 希望是一个非常简单的问题.
我有三个@media(min-width)语句从移动开始并构建到桌面.由于某种原因,第三个声明不会触发.
示例:.imgbox {height:100px; 宽度:100px;}
@media (min-width: 768px) and (max-width: 899px) { .imgbox { background-color:red; } }
@media (min-width:900px) and (max-width: 1000px) {
.imgbox { background-color:green;}
}?
@media (min-width:1001px) {
.imgbox { background-color:blue;}
}?
Run Code Online (Sandbox Code Playgroud)
JS Fiddle在这里显示效果:https://jsfiddle.net/t5vh316h/(将中心分隔线拖到不同的宽度,以便看到我的意思)
该框永远不会变为蓝色,最终查询似乎被忽略.为什么?!
谢谢.