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

emlog怎么做视频网站网站开发软件学习

emlog怎么做视频网站,网站开发软件学习,为什么输入网址打开的却是别的网站,企业咨询顾问Tailwind 练手项目 用到的技巧 Tailwind CSS 速成 应该都提过了#xff0c;我不记得这里有什么特别新的知识 整体完成图大概这样#xff1a; 一个纯静态页面#xff0c;没有做 JS 之类的特效#xff0c;不过做了移动端适配#xff0c;说实话我写到一半的时候改了不少………Tailwind 练手项目 用到的技巧 Tailwind CSS 速成 应该都提过了我不记得这里有什么特别新的知识 整体完成图大概这样 一个纯静态页面没有做 JS 之类的特效不过做了移动端适配说实话我写到一半的时候改了不少……不是很喜欢这个 up 的风格有点无意义的嵌套 div 就为了实现 CSS。 整体来说可以分成这么几个部分 heading site banner 这里根据移动端进行了一些字体的修改 banner cards 几个 cards 重复性挺高的基本上就是 cv 内容除了 client 那里结构有点变所以重新写了一下中间的内容 不过整体的 card 结构都差不多 contact footer 下面就按照这几个方向拆解一下 heading nav classbg-white shadow-lgdiv classmax-w-6xl mx-auto px-4div classflex items-center space-x-7div classa href# classflex items-center py-4 px-2img srcimages/house.png altlogo classh-8 w-8 pr-2 /span classblock font-semibold text-gray-700 text-lgPrime Properties/span/a/divul classhidden md:flex space-x-1 items-centerli classpx-2 py-4 border-green-500 border-b-4a href classtext-gray-500 font-semiboldHome/a/lili classpx-2 py-4ahrefclasstext-gray-500 font-semibold hover:text-green-500 transition duration-300Services/a/lili classpx-2 py-4ahrefclasstext-gray-500 font-semibold hover:text-green-500 transition duration-300About/a/lili classpx-2 py-4ahrefclasstext-gray-500 font-semibold hover:text-green-500 transition duration-300Contact/a/li/ul/div/div /nav内容看着挺多的其实基本都是字体颜色、padding 之类的设定以及 hover 变色之类的。 这里移动端的适配是通过 hidden md:flex理解起来就是 md 以上的分界点使用 flexmd 以下不显示如 Tailwind 是一个移动优先的 CSS 库因此所有的样式都会优先应用到小设备上需要对大设备单独进行声明。 site banner 这里比较多的就是 breakpoint 的设置与修改另外 letter-spacingtailwind 用的是 tracking 来进行修改。 main classmt-10 px-4 md:mt-16 mx-auto max-w-7xl lg:mt-20 lg:px-8 xl:mt-28div classtext-center lg:text-lefth1 classtracking-tight font-extrabold text-4xl sm:text-5xl md:text-6xlspan classblock xl:inlinePreminum Properties/spanspan classblock text-green-500 xl:inlineNon-premium Prices/span/h1pclasstext-base mt-3 text-gray-500 md:text-xl sm:mt-5 sm:text-lg sm:mx-auto lg:mx-0Lorem ipsum dolor sit amet consectetur, adipisicing elit. Odit doloresquidem ratione autem, expedita illo repudiandae eius natus numquam dolorea corrupti voluptas id rem quisquam, sequi aut nulla accusantium?/pdiv classmt-5 sm:mt-8 flex justify-center lg:justify-startdiv classm-2buttontypebuttonclassflex w-full justify-center bg-green-500 text-white px-8 py-3 rounded-mdView properties/button/divdiv classm-2buttonclassflex w-full justify-center bg-green-100 text-green-700 px-8 py-3 rounded-mdtypebuttonExplore locations/button/div/div/div /main整体来说知道对应的 CSS 是什么这个 HTML 结构看起来就不会特别的吃力移动端适配做的是将公司名换行并且按钮居中 card card 用的是 grid 写的这里主要做的就是小屏幕显示 1 个 col中屏幕 2 个 col大屏幕 3 个 col这里 tailwind 的实现胃grid-cols-1 md:grid-cols-2 lg:grid-cols-3。 其余部分都是基础样式的修改 div classmt-6 justify-center flexh2 classtext-3xl text-gray-500 mb-2Recent Properties/h2 /div!-- card -- div classgrid p-10 grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5!-- card --div classrounded shadow-lg overflow-hiddenimg classw-full srcimages/home1.jpg alt /div classpx-6 py-4h2 classfont-bold text-2xl mb-2sit dicta placeat/h2p classtext-gray-700Lorem ipsum dolor sit amet consectetur adipisicing elit. Nobis officiavero tempore pariatur officiis aspernatur iste omnis placeat non maxime,iure sit doloremque tenetur aperiam hic ad exercitationem fugitvoluptatibus?/p/divdiv classpx-6 pt-4 pb-2spanclasstext-green-300 font-bold text-sm px-3 py-1 mr-2 mb-2 inline-block$450,000/span/divdiv classpx-6 pt-4 pb-2spanclassinline-block bg-gray-200 rounded-full px-3 py-1 text-sm font-semibold text-gray-700 mr-2 mb-27 Beds/spanspanclassinline-block bg-gray-200 rounded-full px-3 py-1 text-sm font-semibold text-gray-700 mr-2 mb-27 Baths/span/divdiv classpx-6 pt-4 pb-10buttonclassinline-block bg-green-500 rounded-full px-4 py-1 font-bold text-white mr-2 mb-2View Property/button/div/divdiv classrounded shadow-lg overflow-hiddenimg classw-full srcimages/home2.jpg alt /div classpx-6 py-4h2 classfont-bold text-2xl mb-2sit dicta placeat/h2p classtext-gray-700Lorem ipsum dolor sit amet consectetur adipisicing elit. Nobis officiavero tempore pariatur officiis aspernatur iste omnis placeat non maxime,iure sit doloremque tenetur aperiam hic ad exercitationem fugitvoluptatibus?/p/divdiv classpx-6 pt-4 pb-2spanclasstext-green-300 font-bold text-sm px-3 py-1 mr-2 mb-2 inline-block$450,000/span/divdiv classpx-6 pt-4 pb-2spanclassinline-block bg-gray-200 rounded-full px-3 py-1 text-sm font-semibold text-gray-700 mr-2 mb-27 Beds/spanspanclassinline-block bg-gray-200 rounded-full px-3 py-1 text-sm font-semibold text-gray-700 mr-2 mb-27 Baths/span/divdiv classpx-6 pt-4 pb-10buttonclassinline-block bg-green-500 rounded-full px-4 py-1 font-bold text-white mr-2 mb-2View Property/button/div/divdiv classrounded shadow-lg overflow-hiddenimg classw-full srcimages/home3.jpg alt /div classpx-6 py-4h2 classfont-bold text-2xl mb-2sit dicta placeat/h2p classtext-gray-700Lorem ipsum dolor sit amet consectetur adipisicing elit. Nobis officiavero tempore pariatur officiis aspernatur iste omnis placeat non maxime,iure sit doloremque tenetur aperiam hic ad exercitationem fugitvoluptatibus?/p/divdiv classpx-6 pt-4 pb-2spanclasstext-green-300 font-bold text-sm px-3 py-1 mr-2 mb-2 inline-block$450,000/span/divdiv classpx-6 pt-4 pb-2spanclassinline-block bg-gray-200 rounded-full px-3 py-1 text-sm font-semibold text-gray-700 mr-2 mb-27 Beds/spanspanclassinline-block bg-gray-200 rounded-full px-3 py-1 text-sm font-semibold text-gray-700 mr-2 mb-27 Baths/span/divdiv classpx-6 pt-4 pb-10buttonclassinline-block bg-green-500 rounded-full px-4 py-1 font-bold text-white mr-2 mb-2View Property/button/div/div /divbanner banner 就是背景图这里主要是用 inline style 写的 !-- banner -- divclassh-screen py-20stylebackground-image: linear-gradient(rgba(0, 0, 0, 0.5),rgba(0, 0, 0, 0.5)),url(images/luxury.jpg); div classcontainer mx-auto px-6 mt-40h2 classtext-4xl font-bold text-white mb-2Experience Luxury Like Never Before/h2h3 classtext-gray-200 text-2xl mb-8Temporibus rerum ducimus omnis perferendis qui./h3buttonclasstext-white uppercase border-2 px-8 py-4 font-bold tracking-wider shadow-lgExplore More/button/div /div我查了一下这个 tailwind 没有定制到图片linear-gradient 的程度如果要放在类名里要用 qrbitrary values div classbg-[url(/img/hero-pattern.svg)]!-- ... -- /divcontact 做的变化也不是很多就是小屏幕下所有的 input 单独占一行这个用 flex-wrap 做就好了 !-- contact -- div classmt-20 justify-center flexh2 classtext-3xl text-gray-500 mb-2Contact Us/h2 /div div classbg-green-300 mt-5 flex p-10 justify-center items-centerform classw-full max-w-lgdiv classflex mb-6 flex-wrapdiv classw-full md:w-1/2 px-3 mb-6 md:mb-0labelforfirstnameclassblock uppercase text-xs text-gray-700 font-bold mb-2 tracking-widerFirst Name/labelinputtypetextidfirstnameclassblock w-full border border-green-500 py-3 px-4 rounded outline-none text-gray-700placeholderYour First Name/p classmt-2 text-green-500 italic text-xsPlease fill out this field/p/divdiv classw-full md:w-1/2 px-3labelforlastnameclassblock uppercase text-xs text-gray-700 font-bold mb-2 tracking-widerLast Name/labelinputtypetextidlastnameclassblock w-full border border-green-500 py-3 px-4 rounded outline-none text-gray-700placeholderYour Last Name//div/divdiv classflex mb-6div classw-full px-3labelforemailclassblock uppercase text-xs text-gray-700 font-bold mb-2 tracking-widerYour Email/labelinputtypeemailidemailclassblock w-full border border-green-500 py-3 px-4 rounded outline-none text-gray-700placeholderYour Email/p classmt-2 italic text-gray-700 text-xsSome tips - as long as it needs/p/div/divdiv classflex mb-6div classw-full px-3labelformessageclassblock uppercase text-xs text-gray-700 font-bold mb-2 tracking-widermessage/labeltextareaidmessageclass˝resize-none appearance-none h-48 block w-full border border-green-500 py-3 px-4 rounded outline-none text-gray-700placeholderYour Email/textarea/div/divdiv classmd:flex md:items-centerdiv classmd:w-1/3 px-3buttontypebuttonclassshadow bg-green-500 text-white py- px-4 roundedSend/button/div/div/form /divfooter !-- footer -- footer classpt-40 px-4divclasscontainer flex flex-col lg:flex-row justify-between lg:justify-around mx-auto space-y-8a href classflex justify-centerdiv classflex items-centerimg srcimages/house.png alt classh-8 w-8 mr-4 /span classfont-semibold text-gray-500 text-2xlPrime Properties/span/div/adivclassgrid grid-cols-2 sm:grid-cols-4 gap-x-3 gap-y-8 text-sm justify-centerdiv classspace-y-3h3 classuppercase text-green-500 tracking-wide text-lgProduct/h3ul classspace-y-1lia href#Features/a/lilia href#Integrations/a/lilia href#Pricing/a/lilia href#FAQ/a/li/ul/divdiv classspace-y-3h3 classuppercase text-green-500 tracking-wide text-lgCompany/h3ul classspace-y-1lia href#Features/a/lilia href#Integrations/a/li/ul/divdiv classspace-y-3h3 classuppercase text-green-500 tracking-wide text-lgDevelopers/h3ul classspace-y-1lia href#Features/a/lilia href#Integrations/a/lilia href#Pricing/a/lilia href#FAQ/a/li/ul/divdiv classspace-y-3h3 classuppercase text-green-500 tracking-wide text-lgSocial Media/h3ul classspace-y-1 flex justify-start space-x-7 items-centerlia href#svgfill#000000width30pxheight30pxviewBox0 0 24 24xmlnshttp://www.w3.org/2000/svgg idSVGRepo_bgCarrier stroke-width0/ggidSVGRepo_tracerCarrierstroke-linecaproundstroke-linejoinround/gg idSVGRepo_iconCarrierpathdM12 2.03998C6.5 2.03998 2 6.52998 2 12.06C2 17.06 5.66 21.21 10.44 21.96V14.96H7.9V12.06H10.44V9.84998C10.44 7.33998 11.93 5.95998 14.22 5.95998C15.31 5.95998 16.45 6.14998 16.45 6.14998V8.61998H15.19C13.95 8.61998 13.56 9.38998 13.56 10.18V12.06H16.34L15.89 14.96H13.56V21.96C15.9164 21.5878 18.0622 20.3855 19.6099 18.57C21.1576 16.7546 22.0054 14.4456 22 12.06C22 6.52998 17.5 2.03998 12 2.03998Z/path/g/svg/a/lilia href#svgwidth30pxheight30pxviewBox0 -2 20 20version1.1xmlnshttp://www.w3.org/2000/svgxmlns:xlinkhttp://www.w3.org/1999/xlinkfill#000000g idSVGRepo_bgCarrier stroke-width0/ggidSVGRepo_tracerCarrierstroke-linecaproundstroke-linejoinround/gg idSVGRepo_iconCarriertitletwitter [#154]/titledescCreated with Sketch./descdefs/defsgidPage-1strokenonestroke-width1fillnonefill-ruleevenoddgidDribbble-Light-Previewtransformtranslate(-60.000000, -7521.000000)fill#000000gidiconstransformtranslate(56.000000, 160.000000)pathdM10.29,7377 C17.837,7377 21.965,7370.84365 21.965,7365.50546 C21.965,7365.33021 21.965,7365.15595 21.953,7364.98267 C22.756,7364.41163 23.449,7363.70276 24,7362.8915 C23.252,7363.21837 22.457,7363.433 21.644,7363.52751 C22.5,7363.02244 23.141,7362.2289 23.448,7361.2926 C22.642,7361.76321 21.761,7362.095 20.842,7362.27321 C19.288,7360.64674 16.689,7360.56798 15.036,7362.09796 C13.971,7363.08447 13.518,7364.55538 13.849,7365.95835 C10.55,7365.79492 7.476,7364.261 5.392,7361.73762 C4.303,7363.58363 4.86,7365.94457 6.663,7367.12996 C6.01,7367.11125 5.371,7366.93797 4.8,7366.62489 L4.8,7366.67608 C4.801,7368.5989 6.178,7370.2549 8.092,7370.63591 C7.488,7370.79836 6.854,7370.82199 6.24,7370.70483 C6.777,7372.35099 8.318,7373.47829 10.073,7373.51078 C8.62,7374.63513 6.825,7375.24554 4.977,7375.24358 C4.651,7375.24259 4.325,7375.22388 4,7375.18549 C5.877,7376.37088 8.06,7377 10.29,7376.99705idtwitter-[#154]/path/g/g/g/g/svg/a/lilia href#svgwidth30pxheight30pxviewBox0 0 24 24fillnonexmlnshttp://www.w3.org/2000/svgg idSVGRepo_bgCarrier stroke-width0/ggidSVGRepo_tracerCarrierstroke-linecaproundstroke-linejoinround/gg idSVGRepo_iconCarrierpathfill-ruleevenoddclip-ruleevenodddM12 18C15.3137 18 18 15.3137 18 12C18 8.68629 15.3137 6 12 6C8.68629 6 6 8.68629 6 12C6 15.3137 8.68629 18 12 18ZM12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16Zfill#0F0F0F/pathpathdM18 5C17.4477 5 17 5.44772 17 6C17 6.55228 17.4477 7 18 7C18.5523 7 19 6.55228 19 6C19 5.44772 18.5523 5 18 5Zfill#0F0F0F/pathpathfill-ruleevenoddclip-ruleevenodddM1.65396 4.27606C1 5.55953 1 7.23969 1 10.6V13.4C1 16.7603 1 18.4405 1.65396 19.7239C2.2292 20.8529 3.14708 21.7708 4.27606 22.346C5.55953 23 7.23969 23 10.6 23H13.4C16.7603 23 18.4405 23 19.7239 22.346C20.8529 21.7708 21.7708 20.8529 22.346 19.7239C23 18.4405 23 16.7603 23 13.4V10.6C23 7.23969 23 5.55953 22.346 4.27606C21.7708 3.14708 20.8529 2.2292 19.7239 1.65396C18.4405 1 16.7603 1 13.4 1H10.6C7.23969 1 5.55953 1 4.27606 1.65396C3.14708 2.2292 2.2292 3.14708 1.65396 4.27606ZM13.4 3H10.6C8.88684 3 7.72225 3.00156 6.82208 3.0751C5.94524 3.14674 5.49684 3.27659 5.18404 3.43597C4.43139 3.81947 3.81947 4.43139 3.43597 5.18404C3.27659 5.49684 3.14674 5.94524 3.0751 6.82208C3.00156 7.72225 3 8.88684 3 10.6V13.4C3 15.1132 3.00156 16.2777 3.0751 17.1779C3.14674 18.0548 3.27659 18.5032 3.43597 18.816C3.81947 19.5686 4.43139 20.1805 5.18404 20.564C5.49684 20.7234 5.94524 20.8533 6.82208 20.9249C7.72225 20.9984 8.88684 21 10.6 21H13.4C15.1132 21 16.2777 20.9984 17.1779 20.9249C18.0548 20.8533 18.5032 20.7234 18.816 20.564C19.5686 20.1805 20.1805 19.5686 20.564 18.816C20.7234 18.5032 20.8533 18.0548 20.9249 17.1779C20.9984 16.2777 21 15.1132 21 13.4V10.6C21 8.88684 20.9984 7.72225 20.9249 6.82208C20.8533 5.94524 20.7234 5.49684 20.564 5.18404C20.1805 4.43139 19.5686 3.81947 18.816 3.43597C18.5032 3.27659 18.0548 3.14674 17.1779 3.0751C16.2777 3.00156 15.1132 3 13.4 3Zfill#0F0F0F/path/g/svg/a/li/ul/div/div/div!-- copyright --div classtext-center text-green-500 text-sm py-10 border-t-2 mt-10copy; 2023 GoldenaArcher. All rights reserved./div /footerfooter 长主要因为 svg……我应该用 fontawesome 的 icon 的挠头 这里主要的效果就是超大屏幕下logo 和其他的 footer 在一条线上如第一张效果图所展示。在到 md-大屏幕的时候logo 单独占据一行footer 上用 grid 做了 4 个 column到 md 以下的时候 grid 就是 22 对其了如 我唯一的问题就是觉得在小屏幕下贴边太厉害了……是不是都剧中效果看起来会好很多…… 总结 如果是实际生产项目我是不推荐这么写的。卡片里面有很多重复的代码这些都是可以通过 directives 抽出来封装专门的一个卡片类 layer components {.menu-button {apply text-white bg-indigo-700;} }这么写代码短还行长的话理解起来会稍微有点麻烦。 原本的写法是小设备也会用上 breakpoint如 sm:css here 我写的时候把小设备忽略了……因为原 up 只声明了 sm这样的话 xs 设备也没多少 xs 设备了吧……的实现会稍微有点不受控制。
http://www.hkea.cn/news/14388680/

相关文章:

  • 学校文化建设网站广告设计专业哪个大学最好
  • seo网站地图怎么做帮忙做任务网站
  • 网站模板 在哪购买个人作品展示网站
  • 网站建设的安全威胁搜索引擎营销的流程
  • 重庆做网站建设公司排名做网络教育录播网站
  • 西安网站开发技术深圳品牌网站制作报价
  • 建网站后如何运营wordpress钉钉
  • 梵讯企业网站建设wordpress zip 升级
  • 做易购网站凡科网域名续费
  • 太原企业网站排名xampp上传Wordpress
  • 包装设计网站设计平台建设银行个人查询
  • dw制作网站网络推广竞价是什么
  • 戴尔网站建设成功项目开发的主要流程步骤
  • 自助广告位网站源码网站搭建品牌
  • 网站链接是什么百度网盘网页版入口
  • 苏州木渎做网站公司个人网站与企业网站
  • 东阳网站建设yw126梵克雅宝手链
  • 山大优秀网站建设2018年度本地wordpress 手机浏览器
  • 网站开发公司流程做网站编辑如何写好一篇新闻
  • 三星杭州 两学一做网站仿网站源码
  • 网站源码开发推广普通话奋进新征程
  • 如果在阿里云上做自己的网站做新的网站seo
  • 做微网站迅宇科技wordpress作者权限拿shell
  • 上海网站推广大全抖音代运营怎么取消
  • 怎样做网站上的语种链接wordpress后台目录无法访问
  • 网站升级建设方案西安高校定制网站建设公司推荐
  • 做筹款的网站需要什么资质汉中市住建局建设厅网站官网
  • 做微商海报的网站这个网站 做学术检索非常棒
  • 学院网站建设需求分析调研表人工智能公众号
  • 滕州做网站的广东省建筑企业资质查询平台