CSS3 rotation-point |
CSS3 Tutorial
- CSS3 Tutorial
- CSS3 Introduction
- CSS3 Borders
- CSS3 Border Radius
- CSS3 Backgrounds
- CSS3 Gradients
- CSS3 Text Effects
- CSS3 Fonts
- CSS3 2D Transforms
- CSS3 3D Transforms
- CSS3 Transitions
- CSS3 Animations
- CSS3 Multiple Columns
- CSS3 User Interface
- CSS3 Images
- CSS3 Buttons
- CSS3 Pagination
- CSS3 Box Sizing
- CSS3 Flexbox
- CSS3 Media Queries
- CSS3 Media Queries Examples
- CSS Grid Layout
- CSS Grid Container
- CSS Grid Item
Deep Dive
- Web Service
- Web Design & Development
- Development Tools
- Programming Languages
- Scripting Languages
- Programming
- Software
- Web Services
- Scripts
- Computer Science
CSS3 rotation-point Property
Example
Rotate the h1 element 180 degrees (from top to bottom):
h1 {
rotation-point: 50% 50%;
rotation: 180deg;
}
Browser Support
No browser currently supports the rotation-point property.
Property Definition and Usage
The rotation-point property is a pair of values that define the point of offset from the top-left border edge.
Tip: The rotation-point property needs to be used in conjunction with the rotation property.
| Default value: | 0 |
|---|---|
| Inherited: | no |
| Version: | CSS3 |
| JavaScript syntax: | object.style.rotation="180deg" |
Syntax
rotation-point: value;
| Value | Description |
|---|---|
| left top, left center, left bottom, right top, right center, right bottom, center top, center center, center bottom | If only one keyword is specified, the second value will be "center". |
| x% y% | Percentage values, referencing the border box width and height. |
Click to Share Notes
Write a note...
Image URL
Image Description
Image Size Γ Restore
- Nickname (Required)
- Email (Required)
- Reference URL
Category Navigation
- Python / Data Science
- AI / Intelligent Development
- Front-end Development
- HTML Tutorial
- HTML5 Tutorial
- CSS Tutorial
- CSS3 Tutorial
- JavaScript Tutorial
- HTML DOM Tutorial
- TypeScript Tutorial
- AJAX Tutorial
- JSON Tutorial
- Tailwind CSS Tutorial
- Bootstrap4 Tutorial
- Bootstrap5 Tutorial
- Foundation Tutorial
- Vue.js Tutorial
- Vue3 Tutorial
- React Tutorial
- Next.js Tutorial
- AngularJS Tutorial
- Angular Tutorial
- jQuery Tutorial
- jQuery UI Tutorial
- jQuery EasyUI Tutorial
- ECharts Tutorial
- Chart.js Tutorial
- Highcharts Tutorial
- Google Maps Tutorial
- SVG Tutorial
- Font Awesome Tutorial
- Back-end Development
YouTip