繁体   English   中英

如何在Slimscroll中使用边界半径

[英]How to use border-radius in slimscroll

 $(document).ready(function(e) { $('.slimmscroll').slimscroll({ color: 'rgba(0,0,0,0.5)', size: '4px', radius : '40px', height: '100px', alwaysVisible: true }); }); 
 <script src="https://raw.github.com/rochal/jQuery-slimScroll/master/jquery.slimscroll.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script> <div class="slimmscroll"> <h1>Simple Sidebar</h1> <p>This template has a responsive menu toggling system. The menu will appear collapsed on smaller screens, and will appear non-collapsed on larger screens. When toggled using the button below, the menu will appear/disappear. On small screens, the page content will be pushed off canvas.</p> <p>Make sure to keep all page content within the <code>#page-content-wrapper</code>.</p> <p>This template has a responsive menu toggling system. The menu will appear collapsed on smaller screens, and will appear non-collapsed on larger screens. When toggled using the button below, the menu will appear/disappear. On small screens, the page content will be pushed off canvas.</p> <p>Make sure to keep all page content within the <code>#page-content-wrapper</code>.</p> </div> 

没有得到如何在jQuery的slimscroll中使用border-radius? 我尝试了“边界半径”,触发了错误,并尝试了“半径”不起作用。

在我建议您可以尝试使用BorderRadius或
railBorderRadius,它将位于jquery.slimscroll.min.js文件中

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM