![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
前端
The best are water
赠人玫瑰,手有余香!
展开
-
使用window location href
javascript中的location.href有很多种用法,主要如下。 self.location.href="/url" 当前页面打开URL页面 location.href="/url" 当前页面打开URL页面 windows.location.href="/url" 当前页面打开URL页面,前面三个用法相同。 this.location.href="/url" 当前页面打开URL页面 pa...原创 2019-03-25 14:50:53 · 11796 阅读 · 0 评论 -
input 修改placeholder颜色
<style> input::-webkit-input-placeholder { /* WebKit, Blink, Edge */ color: #a9a5a5 !important; } input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ color: #a9a5a...原创 2019-05-22 14:51:18 · 175 阅读 · 0 评论