如何避免Webflow.css与Timepicker.js发生冲突

时间:2017-07-14 21:56:27

标签: javascript jquery html css

我试图实现timePiker.js,但它与Webflow有冲突。它应该像下一个图像。 enter image description here

但如果我将timepicker.css和webflow.css结合起来,它就无法正常工作。

enter image description here

正如您所看到的,时间戳正在创建一个列表。我认为它没有t work because the list is getting the style from webflow. So what I did was to modify the timepicker.js to create the list calling another CSS class. And I add that new class in the timepiker.css. But It didn起作用。

enter image description here

timepicker.css

.ignoreBoostrapt{

  }

timepicker.js

     /** hours **/
  for (; u < 4; u++) {
    ii = i + v;
    hours_html.push('<ol class=\"ignoreBoostrapt\">');
    for (; i < ii; i++) {
      hours_html.push([
        '<li class=\"ignoreBoostrapt\"><a ', VARS.attr.hour, '="', i, '">', i, '</a></li>'
      ].join(''));
    }
    hours_html.push('</ol>');
  }

0 个答案:

没有答案