How can we target the placeholder pseudo-element of a focused element?
Attempts to achieve this with the code snippets below have been unsuccessful.
input:focus > ::placeholder {
/* insert your code here */
}
input:focus > input::placeholder {
/* insert your code here */
}