跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • 用纯 css 选择器的方式获取 github commit 的最后一格 block
未分類
15 3 月 2020

用纯 css 选择器的方式获取 github commit 的最后一格 block

用纯 css 选择器的方式获取 github commit 的最后一格 block

資深大佬 : eliang 78

用纯 css 选择器的方式获取 github commit 的最后一格 block 用纯 css 选择器的方式获取 github commit 的最后一格 block 用纯 css 选择器的方式获取 github commit 的最后一格 block

想问一下 我这里想获取最后一个方块

document.querySelector('.js-calendar-graph-svg>g g:last-child rect:last-child') 

这么写感觉没有问题呀,可是为啥获取不到呢?

大佬有話說 (1)

  • 資深大佬 : Mutoo

    document.querySelectorAll(‘g[transform]:last-of-type > rect:last-child’)

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具