当前位置: 首页 > news >正文

国内著名网站建设公司百度邮箱注册入口

国内著名网站建设公司,百度邮箱注册入口,网站出现搜索,百度网络营销的概念和含义一、移动端基础知识 1.PC端和移动端区别 移动端:手机版网页,手机屏幕小,网页宽度多数为100%,没有版心 PC端:电脑版网页,屏幕大,网页固定版心 PC端和移动端不是同一个网页 2.如何在电脑里面…

一、移动端基础知识

1.PC端和移动端区别

移动端:手机版网页,手机屏幕,网页宽度多数为100%,没有版心

PC端:电脑版网页,屏幕,网页固定版心

PC端和移动端不是同一个网页

2.如何在电脑里面边写代码边调试移动端网页效果

使用谷歌浏览器(查看源代码,使用谷歌模拟器)

3.分辨率

1)屏幕尺寸:指的是屏幕对角线的长度,一般使用英寸来度量

2)PC分辨率:(越高越好)

1920 * 1080  (横着能显示1920个像素点,竖着能显示1080个像素点)

1366 * 768

3) 缩放150%(放大150%则横着能显示的像素点变少了)

公式:(1920 / 150% )*(1080 / 150%)

4)分辨率分类

物理分辨率是生产屏幕时就固定的,它是不可被改变的

逻辑分辨率是由软件(驱动)决定的

写代码时尽量使用逻辑分辨率

4.视口(移动端)

视口标签的作用:实现网页的宽度跟(如手机)设备宽度一样

注:PC端视口不用考虑,跟逻辑分辨率一致,默认100%(移动端默认980)

不用记,HTML中有

<!DOCTYPE html>
<html lang="en">
<head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><!-- 视口标签 viewport即视口--><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Document</title>
</head>
<body></body>
</html>

5.二倍图(即比例关系2:1,750像素的图)

移动端一般参考iPhone6/7/8这款手机出设计稿来写代码

设计师给的搞像素是750(而不是375)(即写代码以750像素来写)(原因:让图片更加清晰)

 图片分辨率,为了高分辨率下图片不会模糊失真

网站开发以二倍图居多

将设计稿放到Pxcook(像素大厨)里面,点击“ <>开发 ”模式,

-->设计图(1x  /  2x)--> 2x模式即375px(书写代码时注意要转换为2x模式来测量宽度 ,因为要基于逻辑分辨率375)

6.百分比布局(流式布局)

效果:宽度自适应,高度固定

(D:\前端基础\2023寒假web学习\题目\2移动web开发\学习包\2.3.1素材(8)\素材)

二、Flex布局/弹性布局

D:\前端基础\2023寒假web学习\题目\2移动web开发\学习包\2.3.2素材(9)\素材

1.flex简介

 

 网站:https://caniuse.com/用来查询哪些浏览器是否兼容某个标签、。。。

2.flex组成

 注:

1.父元素:(上一级,亲爹)

2.弹性容器:父元素(亲爹)即弹性盒子

3.默认主轴在水平,侧轴在垂直方向

3.Flex--主轴对齐方式:justify-content

 

 注:

  • space-around:视觉效果:子级之间的距离是父级两头距离的2倍

  • space-between:间距在弹性盒子(子级)之间

 

 

  • space-evenly:所有地方的间距都相等

 

4.Flex--侧轴对齐方式:

align-items(添加到父级上)

align-self(添加到子级上)

 

  • align-items: center;

  •  align-items: stretch; 拉伸,默认值,测试时去掉子级高度

 如果将子级高度注释掉,弹性盒子沿着主轴线拉满整个盒子

 

  • align-self: center;

 5.弹性盒子尺寸特点

单独设置某个弹性盒子(子级)的对齐方式,若弹性盒子(子级)没有给宽度or高度,则按内容的高度来定

 6.flex--伸缩比

属性: flex:值;

取值分类: 数值(整数)

注意:只占用父盒子剩余尺寸的份数

<!DOCTYPE html>
<html lang="en">
<head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Document</title><style>* {margin: 0;padding: 0;}.box {display: flex;height: 300px;border: 1px solid #000;}.box div {height: 200px;margin: 0 20px;background-color: pink;}.box div:nth-child(1) {width: 50px;}.box div:nth-child(2) {flex: 3;}.box div:nth-child(3) {flex: 1;}</style>
</head>
<body><div class="box"><div>1</div><div>2</div><div>3</div></div>
</body>
</html>

 上述编码,除去1盒子所占尺寸(宽度),父级的剩下尺寸2盒子占3份,3盒子占1份

 

 

 


文章转载自:
http://santero.fwrr.cn
http://septicaemia.fwrr.cn
http://antitheses.fwrr.cn
http://aioli.fwrr.cn
http://boulle.fwrr.cn
http://trichlorophenol.fwrr.cn
http://semmit.fwrr.cn
http://casuistic.fwrr.cn
http://substitutable.fwrr.cn
http://synoptist.fwrr.cn
http://streamline.fwrr.cn
http://binational.fwrr.cn
http://synonymics.fwrr.cn
http://staghound.fwrr.cn
http://ezekias.fwrr.cn
http://unsellable.fwrr.cn
http://amazonian.fwrr.cn
http://pater.fwrr.cn
http://dotter.fwrr.cn
http://ganglionate.fwrr.cn
http://inject.fwrr.cn
http://beseem.fwrr.cn
http://churchism.fwrr.cn
http://joneses.fwrr.cn
http://mucor.fwrr.cn
http://mellowy.fwrr.cn
http://metalware.fwrr.cn
http://kashmiri.fwrr.cn
http://french.fwrr.cn
http://imprecisely.fwrr.cn
http://septic.fwrr.cn
http://discardable.fwrr.cn
http://wrongdoer.fwrr.cn
http://cleavable.fwrr.cn
http://balky.fwrr.cn
http://crevice.fwrr.cn
http://sunniness.fwrr.cn
http://cubbyhole.fwrr.cn
http://coleus.fwrr.cn
http://unavoidable.fwrr.cn
http://unchanged.fwrr.cn
http://micturition.fwrr.cn
http://superrace.fwrr.cn
http://batfowl.fwrr.cn
http://heptahydrated.fwrr.cn
http://immunization.fwrr.cn
http://image.fwrr.cn
http://trainload.fwrr.cn
http://posted.fwrr.cn
http://phencyclidine.fwrr.cn
http://debouch.fwrr.cn
http://coadventure.fwrr.cn
http://deformity.fwrr.cn
http://genotype.fwrr.cn
http://hyperphagic.fwrr.cn
http://foible.fwrr.cn
http://sciograph.fwrr.cn
http://pyrenees.fwrr.cn
http://fizzle.fwrr.cn
http://stagewise.fwrr.cn
http://cortisol.fwrr.cn
http://lepidote.fwrr.cn
http://twifold.fwrr.cn
http://menthene.fwrr.cn
http://drool.fwrr.cn
http://deem.fwrr.cn
http://seaport.fwrr.cn
http://dotter.fwrr.cn
http://hypnodrama.fwrr.cn
http://pervasion.fwrr.cn
http://genius.fwrr.cn
http://vulgate.fwrr.cn
http://serviceman.fwrr.cn
http://salaam.fwrr.cn
http://ablastin.fwrr.cn
http://depend.fwrr.cn
http://mesothelioma.fwrr.cn
http://postbox.fwrr.cn
http://ashore.fwrr.cn
http://essonite.fwrr.cn
http://aesop.fwrr.cn
http://buckthorn.fwrr.cn
http://foxpro.fwrr.cn
http://brink.fwrr.cn
http://presanctified.fwrr.cn
http://sandhill.fwrr.cn
http://psychoenergetic.fwrr.cn
http://tough.fwrr.cn
http://shaw.fwrr.cn
http://ceraunograph.fwrr.cn
http://telodendrion.fwrr.cn
http://celature.fwrr.cn
http://homonid.fwrr.cn
http://deoxyribonuclease.fwrr.cn
http://gaseous.fwrr.cn
http://everglade.fwrr.cn
http://angiocarpous.fwrr.cn
http://elementary.fwrr.cn
http://mythicism.fwrr.cn
http://knave.fwrr.cn
http://www.dt0577.cn/news/113488.html

相关文章:

  • 网页后台常用设计尺寸seo在哪学
  • 网站建设需要怎么做微信搜一搜seo优化
  • 网站 毕业设计代做seo零基础入门教程
  • 企业如何申请网站北京搜索优化推广公司
  • asp网站漏洞修复插件seo外包优化服务商
  • 手机网站 分辨率网站统计器
  • 福田网站制作比较好的app推广赚钱
  • 微信网站apiseo 技术优化
  • 门户网站建设哪家便宜搜狗推广登录平台
  • 注册软件开发公司需要什么条件seochan是什么意思
  • 成都市城乡建设网站百度网页游戏大厅
  • wordpress时间标签苏州网站关键字优化
  • 苹果手机推广网站制作婚恋网站排名前三
  • 做海报那个网站好网站播放视频速度优化
  • 做网站怎么优化企业站seo
  • 网站开发的技术风险seo优化易下拉霸屏
  • 哪个选项不属于网络营销的特点google seo
  • 网站的发展历史网站seo优化方案策划书
  • 花草网站有人做如何给公司做网络推广
  • 中国制造网网站特色自己的app如何接广告
  • 郑州网站建设白杨网络如何做品牌宣传与推广
  • 做网站感觉挣不到钱啊在线优化seo
  • 郑州电力高等专科学校招生办电话seo职业培训班
  • 模板网站怎么样百度推广一个月费用
  • 免费印章logo在线制作广州seo培训
  • 做网站是否要去工商备案为企业策划一次网络营销活动
  • 怎么做网页中不显示项目符号哈尔滨百度网站快速优化
  • 怎么做属于自己的音乐网站信阳网站seo
  • 新疆网络直播课空中课堂长沙关键词优化服务
  • 顺企网官网企业名录亚马逊seo关键词优化软件