简体   繁体   English

如何在不使用Firefox像素完美插件的情况下将设计模型作为叠加层进行快速开发?

[英]How to get design mockup as a overlay for quicker development without using Firefox's pixel perfect plugin?

This is FF plugin 这是FF插件

http://www.pixelperfectplugin.com/ http://www.pixelperfectplugin.com/

Pixel Perfect is a Firefox/Firebug extension that allows web developers and designers to easily overlay a web composition over top of the developed HTML. Pixel Perfect是Firefox / Firebug扩展,它使Web开发人员和设计人员可以轻松地将Web合成覆盖在已开发的HTML之上。

Read more: http://pixelperfectplugin.com/how-to-use/walkthrough/#ixzz0eOfezx1N 了解更多: http : //pixelperfectplugin.com/how-to-use/walkthrough/#ixzz0eOfezx1N

How to get mockup image behind all div like this plugin does.? 如何像此插件一样在所有div后面获取模型图像? this tool only shows design behind layout only on firefox and i want to see on all browser. 该工具仅在firefox上显示布局背后的设计,我希望在所有浏览器上都能看到。

Well if you want it behind then simply setting it to the background image of body or html would work. 好吧,如果您想要它在后面,那么只需将其设置为body或html的背景图像即可。 If they need to be styled with bgimages or colors as part of the design then i suppose you could throw another div in the dom with position absolute and set the z-index to 0 or -1 depending. 如果它们需要在设计中使用bgimages或颜色进行样式设置,那么我想您可以在dom中以绝对位置放置另一个div,然后将z-index设置为0或-1。 IF you want it to overlay the dom then you could do same thing only using an insanely high z-index and then setting the opacity. 如果您希望它覆盖dom,则只能使用非常高的z索引然后设置不透明度来做同样的事情。 That would interfere with direct point and click inspection on the layout i think but you could still get to the elements form the html pane. 我认为那会干扰对布局的直接点击检查,但是您仍然可以从html窗格中获取元素。

Obvoiously no method short of developing in pure js somehow is going to give you the features of a browser plugin. 不幸的是,除了使用纯js开发外,没有其他方法可以为您提供浏览器插件的功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何像素完美样机此边框? - How to pixel-perfect mockup this border? 如何在编码像素完美设计时处理线高 - How to deal with line-height while coding a pixel perfect design 设计在Chrome中看起来很完美,在Firefox中已被破坏 - Design looks perfect in Chrome, destroyed in Firefox 从 PSD 构建“像素完美”和响应式网页设计? - Building a "pixel perfect" AND responsive web design from PSD? 如何为Mozilla Firefox优化网页? 我的页面在Firefox上无法正确显示。 镀铬,完美 - How to optimize web pages for Mozilla Firefox? My pages are not displaying correctly on firefox. In chrome, it's perfect 如何使用Bootstrap 3的非整数列宽创建一个像素完美的网站? - How can I make a pixel-perfect web site with Bootstrap 3's non-integer column widths? 使用JS获得HTML文本单词(或多个单词)的像素完美尺寸是否可能 - Is it possibile to get pixel perfect dimensions of HTML text word (or words) using JS 如何在不使用的情况下在 flexbox 中创建完美的 css 正方形:之后 - How to create perfect css squares in flexbox without using :after 如何在不使用lenth和width的情况下制作完美的圆 - how to make perfect circle without using px in lenth & width 如何让 div 在没有内容的情况下叠加? - How to get the divs to overlay without the content?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM