在线情况
楼主
  • 级别
  • 徽章
  • 职务总版主
  • 声望+46
  • 积分17067
  • 经验1437298
  • 文章25385
  • 注册2003-01-20
Give Designers Tools To Get You What You Need
[P]  Let's say you're having a healthy back-and-forth between you (a front end developer) and a designer. All the best work comes through collaboration and iteration, right? I believe that. But I also believe there are time traps in there. If you feel you're wasting time by getting peppered with tiny design tweaks, there might be salvation in giving designers tools to do the tweaks and then give you exactly what you need.[/P][P]  Let's see some simple examples.[/P][P]  [/P]Positioning Elements in a Space[P]  Let's say you have some absolutely positioned elements. Their exact position is a big part of how the design feels. You could hook up a script to allow those elements to be dragged, and then report their position with the exact CSS you'll need to put them there.[/P][P]  Here I've used David DeSandro's [URL=http://draggabilly.desandro.com/]Draggabilly[/URL] to do that:[/P][P][/P][P]  It's a fairly small little script that allows elements to be dragged, and when a drag event stops, it creates the little bit of CSS needed based on that elements ID and top/left position, and puts that in the bottom right corner of the document ready for copy-pasting and providing to you, the front end developer.[/P]Changing Font Stuff[P]  How about little
LeadBBS 官方论坛(asp论坛)感谢您的参与
Page created in 0.0156 seconds with 4 queries.