Rotate Pdf Object Using Javascript February 27, 2024 Post a Comment I have a pdf embedded inside an html. I need to rotate it using javascript (or jqSolution 1: try$("#img").css({'transform':'rotate(90deg)', '-o-transform': 'rotate(90deg)', '-ms-transform': 'rotate(90deg)', '-webkit-transform': 'rotate(90deg)' }); CopySolution 2: You can use css transform property http://www.w3schools.com/css/css3_2dtransforms.asp Baca JugaChange Data-attribute On Click Of Html ElementsClickable Html Table Rows That Post To A Php Popup WindowIs There A Fluent Transition Possibility For Animation Font-size In Raphael Js?#img { -o-transform: rotate(90deg); -ms-transform: rotate(90deg); -webkit-transform: rotate(90deg); transform: rotate(90deg); } Copy Share You may like these postsSlider Height ImagesIf Container Width, Padding And Line-height Is Known, How To Calculate Height?Upload Image Using Ajax And Form SubmittingDisplay Image When Hover Over Button Post a Comment for "Rotate Pdf Object Using Javascript"