代码传送门

媒体查询语法

@media 媒体类型 and|not|only (媒体功能){
    css语句
}

当符合条件时,对应的css将生效

媒体类型

描述
all 所有设备
print 打印机和打印预览
screen 屏幕
speech 屏幕阅读器

媒体功能

描述
aspect-ratio 页面可见区域的宽高比
device-aspect-ratio 屏幕可见区域的宽高比

…………………………………………………………………….

分类: css

12 条评论

g what · 2020年6月20日 上午11:14

I was curious if you ever thought of changing the structure of your blog?
Its very well written; I love what youve got to say. But
maybe you could a little more in the way of content so people could connect with it better.
Youve got an awful lot of text for only having 1 or two pictures.

Maybe you could space it out better?

here g · 2020年6月21日 上午3:53

This is a topic that’s close to my heart… Take
care! Where are your contact details though?

g would · 2020年6月21日 下午11:47

Greetings from Colorado! I’m bored to tears at work
so I decided to check out your site on my
iphone during lunch break. I really like the information you
present here and can’t wait to take a look when I get home.
I’m shocked at how quick your blog loaded on my phone ..
I’m not even using WIFI, just 3G .. Anyways, awesome blog!

http://tinyurl.com/ · 2020年6月26日 下午3:20

all the time i used to read smaller posts that as
well clear their motive, and that is also happening with this post which I am
reading at this time.

http://tinyurl.com/y932p2e9 · 2020年6月27日 上午11:21

What’s up, its good post regarding media print, we all be aware of
media is a impressive source of data.

https://detsad10.by/forums/users/leshooper83125 · 2020年6月27日 下午12:57

I don’t know if it’s just me or if everyone else encountering issues with your blog.

It appears as if some of the text in your content are running off the screen.
Can somebody else please comment and let me know if
this is happening to them too? This could be a issue with my web browser because
I’ve had this happen previously. Cheers

cbd oil that works 2020 · 2020年6月27日 下午11:31

Howdy! I know this is kinda off topic however ,
I’d figured I’d ask. Would you be interested in exchanging links or
maybe guest authoring a blog post or vice-versa?

My site goes over a lot of the same subjects as yours and I believe we could greatly benefit from each other.
If you might be interested feel free to send me an email.

I look forward to hearing from you! Wonderful blog by the way!

cbd oil that works 2020 · 2020年6月27日 下午11:57

Pretty section of content. I simply stumbled upon your blog and in accession capital to
assert that I acquire in fact enjoyed account your blog posts.
Any way I’ll be subscribing for your feeds and even I achievement you get
right of entry to constantly quickly.

cbd oil that works 2020 · 2020年6月28日 上午6:46

Your method of explaining everything in this post is truly fastidious, every one can easily be aware of it,
Thanks a lot.

cbd oil that works 2020 · 2020年6月28日 上午8:13

Hey I know this is off topic but I was wondering if you knew of
any widgets I could add to my blog that
automatically tweet my newest twitter updates. I’ve been looking for a plug-in like this
for quite some time and was hoping maybe you would have
some experience with something like this. Please let me know if you run into anything.
I truly enjoy reading your blog and I look forward to
your new updates.

cbd oil that works 2020 · 2020年6月29日 下午2:13

Keep on working, great job!

cbd oil that works 2020 · 2020年6月29日 下午6:31

Hello there! Do you know if they make any plugins
to protect against hackers? I’m kinda paranoid about losing everything I’ve worked hard on. Any tips?

发表评论

电子邮件地址不会被公开。 必填项已用*标注