Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/390.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 自定义Angular8日期选择器箭头(顶部和底部箭头)_Javascript_Html_Css_Angular - Fatal编程技术网

Javascript 自定义Angular8日期选择器箭头(顶部和底部箭头)

Javascript 自定义Angular8日期选择器箭头(顶部和底部箭头),javascript,html,css,angular,Javascript,Html,Css,Angular,我喜欢定制带有顶部和底部箭头的角度8日期选择器。默认设置为左箭头和右箭头。我如何定制它 假设该按钮的选择器是.myButton。如果要为特定构件(例如)替换默认样式,请使用主体选择器 :host>>>.myButton { background-color: white; } 或者在global styles.css中指定此选项 .myButton { background-color: white !important; }

我喜欢定制带有顶部和底部箭头的角度8日期选择器。默认设置为左箭头和右箭头。我如何定制它


假设该按钮的选择器是.myButton。如果要为特定构件(例如)替换默认样式,请使用主体选择器

:host>>>.myButton {
   background-color: white;
}
或者在global styles.css中指定此选项

.myButton {
      background-color: white !important;
}