书栈网 · BookStack 本次搜索耗时 0.070 秒,为您找到 3787 个相关结果.
  • 7.2.1 修改DOM结构

    修改DOM结构 添加DOM 删除节点 练习 修改DOM结构 直接使用浏览器提供的API对DOM结构进行修改,不但代码复杂,而且要针对浏览器写不同的代码。 有了jQuery,我们就专注于操作jQuery对象本身,底层的DOM操作由jQuery完成就可以了,这样一来,修改DOM也大大简化了。 添加DOM 要添加新的DOM节点,除了通过jQu...
  • 下拉框 Dropmenu

    下拉框Dropmenu 激活与禁用Active and Disabled 反色Inverse 自定义风格Custom Style 下拉框Dropmenu <div class = "dropmenu" > <a> BackgroundColor: <small> White </small></a> <ul>...
  • 3. DOM Manipulation

    DOM Manipulation DOM Manipulation 3.1 Remove 从 DOM 中移除元素。 // jQuery $el . remove (); // Native el . parentNode . removeChild ( el ); 3.2 Text Get text ...
  • Navbar

    How it works Supported content Brand Text Image Image and text Nav Forms Text Color schemes Containers Placement Scrolling Responsive behaviors Toggler External conte...
  • Navs & tabs

    Base nav Available styles Horizontal alignment Vertical Tabs Pills Fill and justify Working with flex utilities Regarding accessibility Using dropdowns Tabs with dropdowns...
  • 循环

    循环 尽管已经支持JavaScript原生代码,Jade还是支持了一些特殊的标签,它们可以让模板更加易于理解,其中之一就是each , 这种形式: each VAL [, KEY ] in OBJ 一个遍历数组的例子 : - var items = [ "one" , "two" , "three" ] ea...
  • Code

    Code Unbuffered Code Buffered Code Unescaped Buffered Code Caution Code Pug allows you to write inline JavaScript code in your templates. There are three types of code: Unb...
  • List group

    List group Basic example Active items Disabled items Links and buttons Flush Numbered Horizontal Variants For links and buttons With badges Custom content Checkboxes and...
  • Dropdowns

    Overview Accessibility Examples Single button Split button Sizing Dark dropdowns Directions RTL Dropup Dropright Dropleft Menu items Active Disabled Menu alignment R...
  • Dropdowns

    Overview Accessibility Examples Single button Split button Sizing Dark dropdowns Directions RTL Dropup Dropright Dropleft Menu items Active Disabled Menu alignment R...