xingqiao / clayout Goto Github PK
View Code? Open in Web Editor NEW一键生成重构稿
一键生成重构稿
看到生成的页面代码中使用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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.