使用jquery更改边框底部颜色? [英] Change border-bottom color using jquery?

查看:348
本文介绍了使用jquery更改边框底部颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用jquery ...改变底边框的颜色。

I want to change the color of the bottom border using jquery..Thanks

推荐答案

$("selector").css("border-bottom-color", "#fff");




  1. 构建您的jQuery对象,首先提供可调用的方法。在这种情况下,假设您有 #mydiv $(#mydiv)

  2. 调用jQuery提供的 .css()方法来修改指定对象的css属性值。

  1. construct your jQuery object which provides callable methods first. In this case, say you got an #mydiv, then $("#mydiv")
  2. call the .css() method provided by jQuery to modify specified object's css property values.

这篇关于使用jquery更改边框底部颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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