[英]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.