Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
::-webkit-input-placeholder{ color: #9A1B1E;}
我想将其与某种 ID 一起使用以将其应用于某些元素,而不是整个页面。我似乎无法将其放在一个组中。
至少使用jquery将它添加为一个类。
谢谢。
.class::-webkit-input-placeholder{ color: #9A1B1E; } #id::-webkit-input-placeholder{ color: #9A1B1E; }
小提琴
为什么以下两个操作在 Java 中会产生不同的结果,x = 31或者32会产生相同的结果x=3?
x = 31
32
x=3
int x=3; int b = (int) Math.pow(2,x); int c = 1<<x;
结果: