jQWidgets uses a pair of css files - jqx.base.css and jqx.[theme name].css. The base stylesheet creates the styles related to the widget's layout like margin, padding, border-width, position. The second css file applies the widget's colors and backgrounds. The jqx.base.css should be included before the second CSS file.
Below is the list of CSS classes used by jqxTooltip.border-top-color
and border-bottom-color
.border-left-color
and border-right-color
.<script type="text/javascript"> $(document).ready(function () { // Create jqxTooltip $("#elementID").jqxTooltip({ theme: 'shinyblack', content: 'This is a div element.' }); });</script>
<!DOCTYPE html><html lang="en"><head> <title></title> <link rel="Stylesheet" type="text/css" href="../../jqwidgets/styles/jqx.base.css" /> <link rel="Stylesheet" type="text/css" href="../../jqwidgets/styles/jqx.shinyblack.css" /> <script type="text/javascript" src="../../scripts/jquery-1.11.1.min.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxtooltip.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxbuttons.js"></script> <script type="text/javascript"> $(document).ready(function () { $("#jqxbutton").jqxButton({ width: 100, height: 30 }); $("#jqxbutton").jqxTooltip({ position: 'top', content: 'This is a jqxButton.', theme: 'shinyblack' }); }); </script><script async src="https://www.googletagmanager.com/gtag/js?id=G-2FX5PV9DNT"></script><script>window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'G-2FX5PV9DNT');</script></head><body> <div> Hover over the button to see a jqxTooltip in action.</div> <input type="button" style="margin: 50px;" id="jqxbutton" value="Button" /></body></html>