jQuery UI可调整大小 - 如何加厚手柄 [英] jQuery UI Resizable - How to thicken handle

查看:288
本文介绍了jQuery UI可调整大小 - 如何加厚手柄的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以使手柄更厚,更容易抓取吗?

Is it possible to make the handle thicker, for easier grabbing?

例如,在下面的链接中,您会注意到我在div在底部,这是很难得到使用鼠标,因为它似乎是1px高。是否可以让手柄10px高,所以它的外观和感觉就像正在抓取图像?

For example, in the link below, you will notice that I have a handle on a div at the bottom only, which is difficult to get hold of using the mouse as it seems to be 1px high. Is it possible to make the handle 10px heigh, so it looks and feels like the image is being grabbed?

http://jsfiddle.net/rYFEY/25/

推荐答案

.ui-resizable-s {
    bottom: 0;
    height: 10px
}

请参阅:http://jsfiddle.net/rYFEY/29/

+ rgba http://jsfiddle.net/rYFEY/30/

+ rgba - overflow:hidden c> bottom:-5px : http://jsfiddle.net/rYFEY/32/

+rgba -overflow: hidden with the default bottom: -5px: http://jsfiddle.net/rYFEY/32/

这篇关于jQuery UI可调整大小 - 如何加厚手柄的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆