Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forcing element state #344

Closed
ollie-iterators opened this issue Dec 13, 2022 · 3 comments
Closed

Forcing element state #344

ollie-iterators opened this issue Dec 13, 2022 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@ollie-iterators
Copy link

I was wondering if it would be possible to force an element into a specific element state without using the developer tools on a browser.

Forcing element states is done in the browser by:
If you right click on an element in the browser (Chrome or FireFox), and click Inspect, then you will go to the developer tools. There will be an option visible on the screen called ":hov" which is near the text saying "Filter Styles". It allows you to force the element into a certain state. The states that the element can be forced to are: :hover, :active, :focus, :focus-visible, :focus-within, :visited, :target.

In Safari, you can right click on the element, press Inspect Element, which again goes to the developer tools. Right clicking on the code for an element shows a button in the user interface that says Change pseudo class. The pseudo classes that it can change to are the same as the ones for Chrome and FireFox

@whimboo
Copy link
Contributor

whimboo commented Dec 13, 2022

Please do not file new issues for existing ones. This is a dupe of #249.

@whimboo whimboo closed this as completed Dec 13, 2022
@whimboo whimboo added the duplicate This issue or pull request already exists label Dec 13, 2022
@ollie-iterators
Copy link
Author

You know that #249 is a closed issue

@whimboo
Copy link
Contributor

whimboo commented Dec 15, 2022

It's closed but with a reason. And there is no need to file a separate issue about the exact same topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants