Giter VIP home page Giter VIP logo

clayout's People

Contributors

xingqiao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

clayout's Issues

页面缩放方案选择

看到生成的页面代码中使用zoom属性进行页面整体缩放, 这种方式在移动端的兼容性如何, 能否适应苹果的retina屏幕?
如果使用meta name="viewport的initial-scale值可以吗, 计算方式是一样的, 不知道哪种兼容性好一些.

根据定位数据精确裁切图片

现在的切图位置是通过算法识别, 是否可以通过输入精确的定位数据, 在图片上精确的切出每个图层呢?
比如, 我通过Photoshop CC的获取css功能, 可以得到每个图层精确的定位数据, 都是相对于左上角的绝对定位
https://github.com/Onesimu/PhotoshopCopyCSS/blob/5cfe7e9c443520c3c26f87a3d1f378f63db00f03/src/demo/demo.html
是否可以通过这些定位值, 精确的从图片上切出每个图层呢?

修改过的获取css的脚本是这个
https://github.com/Onesimu/PhotoshopCopyCSS/blob/5cfe7e9c443520c3c26f87a3d1f378f63db00f03/src/CopyCSSToClipboard-original.jsx

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.