获取当前HTML页面根元素的字体大小

getComputedStyle(document.getElementsByTagName("html")[0],undefined).fontSize

 

 

图片边缘的多边形型状

CSS骚操作

 

 

 

 

 
判断点击的是哪个radio button?

$("input").on("click",function(){

var a = $("input[name='sex']:checked").attr("id");
 
alert(a);

 

相关文章:

  • 2021-10-26
  • 2021-08-01
  • 2021-10-20
  • 2021-05-22
  • 2022-02-24
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2020-04-15
  • 2022-01-22
  • 2021-08-28
  • 2022-02-14
  • 2021-12-27
  • 2021-09-16
相关资源
相似解决方案