skip to Main Content

CSS animation with incorrect time ratio

I'm trying to execute the animation below, which basically consists of raising the lock, making it rotate and then going down. I would like this to be done proportionately. However, even using a much lower percentage for the descent, the…

VIEW QUESTION

Flutter rotate the screen

void _rotateScreen() { final currentOrientation = MediaQuery.of(context).orientation; if (currentOrientation == Orientation.portrait) { SystemChrome.setPreferredOrientations([ DeviceOrientation.portraitDown, ]); } else { SystemChrome.setPreferredOrientations([ DeviceOrientation.portraitUp, ]); } setState(() {}); } when i click the button screen is rotating down but if screen is down its…

VIEW QUESTION

Html – rotate tekst on hover

I want to let my tekst rotate when you hover over it. this is my css code: html: <p class="dot">R</p> css: .dot { height: 100px; width: 100px; background-color: #ffeaa7; border-radius: 50%; display: flex; justify-content: center; align-items: center; position: relative; text-align:…

VIEW QUESTION
Back To Top
Search