From f05ae969987b4eb00c09956d935e595902ef4b56 Mon Sep 17 00:00:00 2001 From: wlh Date: Fri, 12 Dec 2014 14:55:39 +0800 Subject: [PATCH] add media --- t/css/main.css | 12 ++++++++++++ t/html/index.html | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/t/css/main.css b/t/css/main.css index 675be0c..9951aaa 100644 --- a/t/css/main.css +++ b/t/css/main.css @@ -10,11 +10,17 @@ input{ -webkit-appearance:none; outline:none; border-radius:0; + -webkit-tap-highlight-color:rgba(255,255,255,0); +} + +div{ + -webkit-tap-highlight-color:rgba(255,255,255,0); } a{ color: #525252; + -webkit-tap-highlight-color:rgba(255,255,255,0); } header{ @@ -361,6 +367,12 @@ section .list_item:last-child{ color:#000; } +@media (max-height:350px) { + footer { + display: none; + } +} + diff --git a/t/html/index.html b/t/html/index.html index eab706e..c48f63e 100644 --- a/t/html/index.html +++ b/t/html/index.html @@ -3,7 +3,9 @@ - i搜索 i生活 + + + 爱搜索 爱生活