有时候我们想让一个按钮无边框,甚至点击这个按钮时也没有边框,就像Visual Studio里面的这样:
那么我们可以在css里进行设置:
#Hide_Show_Label button {
background-color: Transparent;
border-style: none; //无边框
outline: none; //获得焦点也无边框
}
有时候我们想让一个按钮无边框,甚至点击这个按钮时也没有边框,就像Visual Studio里面的这样:
那么我们可以在css里进行设置:
#Hide_Show_Label button {
background-color: Transparent;
border-style: none; //无边框
outline: none; //获得焦点也无边框
}