I'm trying to figure out a possible solution on how to create a radar scanner effect using jquery and css. Essentially, a semi-transparent triangle would rotate around the middle point of a div. Is this possible with jquery or should I resort to some other means? I prefer to not use animated gifs.
相关问题
- How to fix IE ClearType + jQuery opacity problem i
- jQuery add and remove delay
- Include empty value fields in jQuery .serialize()
- Disable Browser onUnload on certain links?
- how to get selected text from iframe with javascri
CSS only demonstration
HTML:
CSS:
Please note that to support some browsers you will need to add vendor prefixes, but this by itself works in IE10 and Firefox.
Basic rotation loop:
CSS:
jQuery: