css3 --- > 使用媒體查詢進行響應式佈局

css3引入@media,可以根據設備特性進行不同的佈局, 本文展示的是根據不同屏幕的寬度進行不同的佈局,代碼如下: <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title> 針對瀏覽器寬度調整佈局 </title> <style ty
相關文章
相關標籤/搜索