What value should I use to change the opacity of an element?
Opacity is set using a decimal where 0 is transparent, 0.5 is 50% and 1 is solid.
Acquia Cohesion renames to Site Studio from version 6.2. Tell me more.
Opacity is set using a decimal where 0 is transparent, 0.5 is 50% and 1 is solid.
We recommend using decimals e.g. 1.3 as this makes the line height relate to your font size.
You don’t have to add units unless you want to use a specific unit or you’re adding Custom CSS properties.
Use our interactive flexbox demo below to visualise how flex can help you layout your content.
If you’re trying to rotate the element front on, use the Z rotate property.
Copyright © 2020 Acquia, Inc. All Rights Reserved. Drupal is a registered trademark of Dries Buytaert.