Platform
Resources
Pricing
Sign in
Get started
Showing version 8.
Changes will not be saved.
Aaron Kyle Dennis
Social development practitioner. Trying to understand our world.
Workspace
Fork
Published unlisted
By
Aaron Kyle Dennis
Edited
Oct 17, 2019
Insert cell
md
`# Rotate 90 `
Insert cell
html
`
<div class="container">
<div class="rotate_90">
<img src="https://s3.amazonaws.com/c.loud/11-sandisfield/images/downstairs/office/20191004_130006.jpg" id="rotate_90">
</div>
</div>
`
Insert cell
{
var
id
=
'rotate_90'
;
//The ID of the <img> element to rotate
var
deg
=
90
;
//The rotation angle, in degrees
document
.
getElementById
(
id
)
.
style
=
'transform: rotate('
+
deg
+
'deg)'
;
}
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Try it for free
Learn more
Compare latest
Fork
View
Export
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML