Code Monkey home page Code Monkey logo

travel's Introduction

Travel

一个旅游网站,适合初学者拿去学习html和css。

简单介绍下这个项目,这是很久之前刚开始学前端做的项目,用来练习HTML和CSS的,只是单纯的页面,而不是应用。分为三个目录,分别对应三个不同版本。

PC端:

PC端就是很正常的布局写的。

2018-07-24_133706

移动端:

移动端是用rem单位写的。

因为不同浏览器对rem的理解不一样,故需要将根元素的font-size设置为625%,相当于100px。

这样1rem就等于100px了。

2018-07-24_140834

兼容响应式:

这一版主要是利用了媒体查询和流式布局来做的,也算是最终版了。

2018-07-24_140724

2018-07-24_140724

travel's People

Contributors

14glwu avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.