Giter Club home page Giter Club logo

Comments (3)

xuyangqiao avatar xuyangqiao commented on September 26, 2024

请问下那我写页面的时候应该怎么换算呢,读了下,没理解到,可能是我还比较菜。没理解深入,麻烦指到下 大神

from rem.

hbxeagle avatar hbxeagle commented on September 26, 2024

@gjx870327 是adapt(750, 100),vw和vh现在兼容性还不太好,实验性的项目可以使用。
@xuyangqiao 在页面顶部加上这段js后,css开发时,直接使用rem做为长度单位,比如原来写:width:100px 现在改为 width:1rem。

from rem.

shuncheng123 avatar shuncheng123 commented on September 26, 2024

为啥这么多赞的文章,我竟然理解不了....丢人了,先收藏后面再看

from rem.

Related Issues (16)

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.