mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 03:35:33 +00:00
10 lines
190 B
HTML
10 lines
190 B
HTML
<!DOCTYPE html>
|
|
<body>
|
|
<style>
|
|
::placeholder { color: red; }
|
|
::placeholder:focus { color: green; }
|
|
</style>
|
|
<script>
|
|
window.getComputedStyle(document.body, "::placeholder").color;
|
|
</script>
|