Throughout the design process, you’ll have to work with various values and units available in Droip. 

This document will give you a complete overview of these units and how or where to apply them.  

Length Units

Lengths unit stroke

Below is the list of the Length Units available on Droip. These can fall under two categories: Absolute Length and Relative Length.

Absolute Lengths

Absolute Lengths

Absolute Lengths are fixed lengths that do not depend on any other factor. Hence, these will appear exactly as defined. Below is a list of the options available for this type:

Px (Pixel)

1 Pixel = 1/96th of 1 Inch

Pt (Point)

1 Point = 1/72th of 1 Inch

Relative Lengths:

Relative Lengths are lengths that vary depending on some other property. These help in designing responsive websites as it implements relative sizing. 

Relative Sizing is when elements increase or decrease automatically based on other factors.

Below you’ll find all of the Relative Lengths available on Droip:

Em

Relative to the font size of the element for other properties like width and relative to the font size of the parent for typographical properties like font size.

Rem (Root Em)

Relative to the font size of the root element.

VH (Viewport Height)

Relative to 1% of the height of the Viewport. A viewport is the window’s visible area that displays the web content. 

VW (Viewport Width)

Relative to 1% of the width of the viewport. A viewport is the window’s visible area that displays the web content.

% (Percentage)

Relative to the parent element. Basically, it’s the fraction of its parent element’s value. 

For instance, if you set the Width of an element using the Percentage unit, then it’ll be based on the Width of its parent element.

Auto

Relative to the width of the content.

Fr (Fraction)

1 Fraction is one part of the whole. 1 fraction is 100% of the available space, 2 fractions are 50% each, and so on.

Color Units

Color units

Next up are Color Units. Colors are used everywhere from Typography Color to the color of the Background and more.

Below are the units available on Droip that you can use to define these colors on Droip:

RGB

The RGB Color Model is an additive model in which the three primary colors of light — Red, Green, and Blue are added in various ways to form a range of other colors.

In an RGB value, each number is basically an indication of how intense the red, green, and blue are in the particular color it’s representing. These values range from 0 to 255.

HEX

A Hex Code is a Hexadecimal RGB Value that starts with a # character followed by 6 symbols each of which can range from one of 16 values between 0 to F (which represents 15). 

Each of the 2 symbols after the hash is used to represent a color value from 0 to 255 used in RGB. So the first two are for Red, the next two are for Green, and the last two are for Blue.

RGB Value to Hex Conversion:

  1. The ‘R’ value is divided by 16. If the quotient (integer) of this result is below 10, then it’s written down directly after the hash. If not then its corresponding alphabet is written.
  2. Then we have the remainder (If this is in decimal, it’s multiplied by 16). If this result is below 10, it’s written down next. If not, then its corresponding alphabet is what’s written. 
  3. The same is done for the ‘G’ and ‘B’ values until you have 6 alpha-numeric symbols following the hash.

Example:

RGB: 204, 102, 153

  1. 204/16 = 12.75 | 12 > 10 => C | 0.75*16 = 12 > 10 => C
  2. 102/16 = 6.375 | 6 < 10 => 6 | 0.375*16 = 6 < 10 => 6
  3. 153/16 = 9.5625 | 9 < 10 => 9 | 0.5625*16 = 9 < 10 => 9

So RGB (204, 102, 154) = #CC6699

Angle Units

Angle units

Define the angle for options like Rotate Transform, Hue Rotate Effect, etc using the following units:

Deg (Degree)

Ranges from 1 to 360 degrees where 0 and 360 are the same.

Rad (Radian)

1 Rad is equal to 180/π degrees or approx 57.3 Deg.

Grad (Gradian)

1 Grad is 1/400 of a full circle.

Turn

1 Turn is equal to 360 Deg i.e. 1 entire rotation.

Time Units

time units

Use the following Time Units to define the Time Duration & Delay in Transitions and Interactions.

S (Second)

1 Second is 1/60th of a Minute.

Ms (Millisecond)

1 Millisecond is 1/1000th of a Second.

Numbers

Certain values in Droip have no unit and are simply numerical values. Some examples are Scale Transform, Repeat Count in Interaction, Pagination in Collection, etc.

The Style Panel of Droip is basically where all of the magic happens. From here, you can customize every aspect of your element’s style.

style-panel-overview

Located on the right side of the screen, you’ll notice that the Style Panel is made up of the following sections:

  1. Class Manager
  2. Typography
  3. Structure
  4. Size
  5. Background
  6. Stroke
  7. Shadow
  8. Effects
  9. Position
  10. Transform
  11. Transition
  12. Interaction

As you can tell from this list, you can customize your element’s typography, structure, background, and more from here. Not only that but you can also duplicate your style settings with the help of sub-classes and reuse them throughout your design process!

Class Manager

The Class Manager is where you can define Classes to duplicate and reuse the style settings of an element. This means you don’t need to manually customize each and every instance, saving your time and effort.

This is also where the States Menu is located and from here you can switch between the various States of an element and define its behavior and style for that state. With the help of this feature, you can design a highly responsive and interactive website.

The default States include None, Hover & Focus. However, you also get a range of other states known as Pseudo Classes to choose from.

You can also access the Inheritance Menu from here by clicking on the dropdown above the Selector field. This menu will show all of the parent and ancestor classes of this element and you can click on one to edit that class from here.

For more information about this section, check out the Class Manager documentation.

Typography

Using Typography settings, you can ensure that your content is legible and visually appealing. From here you can adjust your text’s font, font size, font weight, alignment, and more.

Not just that but from the Advance Font Editor, you can access even more customization options. Take a look at the Typography documentation to learn more.

Structure

From Structure, you can define how your element and the elements around it will be displayed on the canvas.

To change your element’s Structure, click on the dropdown that’s located here. You’ll find the following Structure types to choose from:

You can also adjust your element’s Padding and Margin values from here. Simply click and drag any one of the sides to adjust them. You can match the values for all sides, or just some of them, or even define each one differently.

To learn more, check out our documentation on Structure.

Size

As the name implies, using the settings from the Size section you can define the height, width, and Overflow of an element. 

You can also set the Minimum and Maximum values for size as well as enable Clip Content from here. Please visit the dedicated documentation on Size to learn more.

Background

Next up we have Background settings and from here you can add Solid, Gradient, and Image type Backgrounds. 

When it comes to Gradients, you can also choose between Linear, Radial, or Conic Gradient types.

You’ll also be able to Clip Backgrounds from here and this includes the Text option which is a nifty way to have Image Backgrounds adopt any text content’s shape!

To learn more, visit the Background documentation.

Stroke

From the Stroke section, you can add a Border around any element. You can set this border’s size, color, and style. 

You can also adjust any element’s Radius from here. This will curve the edges of your element to give it a more rounded look. 

Similar to borders, you can add an Outline around your element too. Outlines are different from borders because they’re drawn outside the element’s edges instead of over them.

For more info, check out Stroke’s documentation.

Shadow

Then we have the Shadow section and as the name suggests, from here you can add Shadows to your elements.

You can choose from two types of Shadows: Outer Shadow and Inner Shadow. For both, you can adjust the Horizontal Offset, Vertical Offset, Color, Blur, and Spread

You can also use one of the preset shadows instead of creating one from scratch. Similarly, you can save your current shadow settings as a preset for later use. 

More information on this can be found in the dedicated documentation for Shadow.

Effects

Apply various Effects on your elements from this section. Effects include Opacity, Blur, Brightness, Contrast, Saturation, Invert Color, Grayscale, Hue Rotate, and Sepia

You’ll also be able to change the Cursor style from here with a range of options to choose from.

Also, applying these effects based on specific states can help you improve the interactiveness of your website.

To find out more about this section, take a look at the documentation on Effects.

Position

Define the placement of your elements using the settings in the Position section. You can set the Position type as Static, Relative, Absolute, Fixed, or Sticky. You can also access the Float and Clear settings from here.

For more details, check out the Position documentation. 

Transform

Using the options in the Transform section, you can manipulate an element’s appearance and placement. This feature is usually used in tandem with a specific state to add animative interactions.

Transformation options include Move, Rotate, Scale, and Skew. Use Move to shift an element’s position, Rotate to change its angle, Scale to increase or decrease its size, and Skew to change its shape.

You can also enable 3D Transformation from here to transform elements from a 3D perspective instead.

Learn more about Transform.

Transition

Transitions are where you can add fluid animations to an element when it switches from one state to another. This helps make the switch less jarring and results in a better user experience.

To add a Transition, all you have to do is select the State you’ll be switching to and choose which aspect to animate. Then you can set its Duration, Delay, and Timing Function.

For more info, check out Transition’s dedication documentation.

Interaction

Interaction is where all the fun really happens. You can use this feature to make your website more engaging and user-friendly. 

Using Interaction, there are tons you can achieve like making a dropdown menu appear and disappear on hover, animating a group of elements when you scroll down a page, expanding an image when clicked on, and so much more.

You can apply Interactions to both Elements and your Page. If you select Elements, your Trigger options will be the following:

If you select Page instead, your Trigger options will be:

Once you select your Object and Trigger, you can either select one of the preset responses and adjust that or create your own Custom Response. Since Droip offers a fully visual Interaction Builder, this is a pretty straightforward process.

For more in-depth information, please take a look at the Interaction documentation where we go over the entire process step by step.

Color your Typography, Backgrounds, Stroke, and more in any way you desire using Droip’s highly sophisticated Color options! 

Use these settings to give your elements’ text or background a simple solid color. Or, go all out by using any one of three gradient styles to add an extra flair to your element!

Color Picker

Color picker

Using Color Picker, you can choose a solid color for your element’s style. To open, simply select the element and go to the relevant section on the Style Panel that you want to customize (Typography, Background, etc), and click on the Color option.

Pick a Color

To pick a color, do one of the following:

Set Opacity

Set opacity

You can also use the second color slider to adjust your color’s opacity. You should be able to see its percentage value displayed on the right of the color value input field.

Contrast Ratio

Contrast ratio

When you choose any color, you’ll also be able to see the color Contrast Ratio and the WCAG (Web Content Accessibility Guidelines) rating from the Color Picker. 

This will make it easier to ensure that your page’s design is accessible and user-friendly. 

You can also use the toggle on the right to see the contrast ratio division lines. These can help you easily identify the low-contrast, mid-contrast, and high-contrast colors.

Color Swatch

Color swatch

Lastly, we have the Color Swatch where you can add colors to create your own Color Palette. This will make it easier for you to access the colors that you frequently need throughout the design process.

To add one, select your color and then click on the + icon at the bottom. The swatch works like a queue where you’ll be able to add up to seven colors and once you cross this limit, the oldest saved color will be removed from the swatch to make space for a new one.

Gradients

Now let’s go over the three Gradient variations we have available:

Available gradients

To access the Gradient panels, open the dropdown in the top left corner and select any one of the three gradient styles.

Linear Gradient

Linear gradient

On the Linear Gradient window, you’ll see the usual features like the color canvas, color sliders, etc. What’s new here is the Gradient Ramp.

Picking a Color for a Color Stop:

To pick a color, click on any color stop to select it, and then choose your color using either color sliders and the color canvas or by directly defining the color code. 

Repeat the same process to pick colors for all the other color stops.

Adding a Color Stop:

By default, you should have two color stops (start & end) to work with but you can add more by clicking anywhere on the gradient ramp. 

You can remove these extra stops by selecting them and pressing the delete button. 

You can also drag the color stops along the ramp to adjust the location from where they’ll start or end.

Setting the Angle:

You should notice that the gradient ramp overlays a circular shape marked with the angles 0, 90, 180, and 270 degrees. By default, the angle is zero i.e. the gradient is horizontal. To change it, simply grab any one of the ends of the gradient ramp and drag it up or down.

The circle shape will reflect all of these customizations you apply to your gradient so you’ll be able to see what it will look like.

Repeat:

Right below the color sliders, you should notice a new toggle called Repeat.

When the “Repeat” option is enabled, the gradient pattern will repeat itself seamlessly, creating a continuous effect. 

This means that for a Linear Gradient, suppose you have two color stops at the start and end points, enabling “Repeat” will cause the gradient to repeat in a seamless manner as it progresses beyond the endpoint, creating a repeating pattern.

Radial Gradient

Radial gradient

Next, we have Radial Gradient. Here, you’ll once again see familiar tools as well as the Radial Gradient tool. This tool, while looking very different, works similarly to the Linear Gradient tool. 

Picking a Color for a Color Stop:

To pick a color, simply click on any color stop to select it. Then choose your color using the usual methods. Repeat the same process to pick colors for all the other color stops.

Adding a Color Stop:

By default, you should have two color stops (start & end) to work with. To add more, simply click anywhere on the gradient ramp. 

And to remove a color stop, just select it and press the delete button.

Adjusting the Centerpoint & Spread:

To change the position of the gradient’s center point (starting point), click on the center handle and drag it as shown above.

And to adjust how much the gradient should spread outwards, click & drag the two end-points. Dragging the vertical handle will adjust the vertical spread and dragging the horizontal handle will adjust the horizontal spread.

Repeat:

Right below the color sliders, you should notice a new toggle called Repeat.

When the “Repeat” option is enabled, the gradient pattern will repeat itself seamlessly, creating a continuous effect. 

Similar to Linear Gradient Repeat, for Radial Gradient, enabling “Repeat” will cause the same set of color stops to repeat in a seamless manner as it progresses beyond the endpoint, creating a repeating pattern but radiating from the center instead.

Conic Gradient

Conic gradient

Finally, we have the Conic Gradient and this time the gradient ramp is circular with the preview modal at its center instead of along the gradient bar.

Picking a Color for the Color Stop:

Select any one of the color stops and then pick a color of your choice using any of the methods discussed here. Do the same to pick colors for the other color stops.

Adding a Color Stop:

By default, you should have two color stops (start & end) to work with. So to add more color stops, simply click anywhere on the gradient ramp circumference.

📝 Note: For Conic Gradient, the ending color stop may not be visible at first as the starting color stop usually overlaps it. To adjust the ending color stop’s position, click and drag over the starting color stop to separate the two and place it at an angle of your choice.

Adjusting Color Stop Position:

To adjust the color stop position, simply click and drag the color stop in question and place it at an angle of your choice around the gradient ramp’s circumference.

Off-Centered Conic Gradient:

To make your conic gradient off-centered, click and drag the center point handle to reposition it where you want it.

Reposition All Color Sops:

To reposition the angle of all of the color stops, simply click and drag the end-point of the gradient bar around the gradient ramp’s circumference.

Repeat:

Right below the color sliders, you should notice a new toggle called Repeat.

When the “Repeat” option is enabled, the gradient pattern will repeat itself seamlessly, creating a continuous effect. 

Unlike Radial Gradient, enabling “Repeat” for Conic Gradient will cause the gradient to repeat with the color transitions rotated around a center point.

Transition is another amazing tool that can be used hand-in-hand with features like Stroke, Effects, Transform, and more to help create highly interactive web pages. 

Use Transitions to make any animation between different states of an element to be much smoother and more pleasing to the eye.

Droip transition

Add Transition

To add a transition, select an element on your canvas that you’ve animated. Then head over to the Transition menu from the Style Panel which you’ll find on the right-hand side of your screen.

States

Then, start by selecting which State you want the Transition to start. Options are the three States None, Hover, and Focus. You can also select this from the States Menu located under Class & Sub-class. 

Add New

Add new transition

Next, click on the plus icon to add a new transition. A new window should pop up from where you can customize your Transition settings.

Transition Type: Click on the dropdown situated at the top-left corner to select which type of animation you’re adding the transition for. Options include the following:

Duration: Define how long this transition will take. Click on the unit dropdown to select a different unit. Options include milliseconds (ms) and seconds (s).

Delay: Use this option to set the duration by which the Transition should delay if desired. Just like Duration, you can choose between the units milliseconds (ms) and seconds (s).

Timing Function: Click on the dropdown list from here to select the style of your Transition progression. Below is a list of the options available:

Once you’re done setting up your transition, simply click on the X icon at the top-right corner to close this window. Then, you can click on the plus icon again to add more Transitions to your element if necessary

Custom Timing Editor

Custom Timing Editor

The Custom Timing Editor is a nifty tool that can be used to define a custom progression of your animation transition. To access the Custom Timing Editor, from the Style Panel on the right, go to Transition > Add New > Custom Timing Editor.

On the Timing Editor, on the left, you will find more predefined Timing Function styles. The Default tab shows all of the styles but you can also click on the other tabs to see the styles of each specific category. Categories include:

After selecting any one of these options, you can watch its Preview on the right by clicking on the play button at the top. Then, to customize it to suit your needs, simply drag the two toggles attached to each end of the graph on the preview.

Using Size Transition For Image Expansion on Hover

In this section, we’re going to show you how you can make your images interactive using the features Size and Transition.

Setting Up

Start by adding a Div to your canvas. Then, place an Image element inside it and go to the Media Manager to select the Media you want to add.

Next, select the Div again and go to Size settings from the Style Panel on the right. Here, set its Width as 400px while keeping the rest of the settings the same.

Expand on Hover

Now it’s time to take the steps needed to expand your image.

  1. Select the Div and go to Class & Sub-class > States Menu. (Click on the expansion icon in its top-right corner if you don’t see it!)
  2. Switch to the Hover state from the States Menu and go back to Size settings. 
  3. Here, change the Width to 1200px while once again keeping the rest the same.

Use Transition to Polish in This Animation

Click on the Preview icon at the Topbar to view the current state of things. At this point, the animation should look disjointed as shown in the example below.

However, we can easily fix this using Transition by taking the following steps:

  1. Select the Div and go to Style Panel > Transition.
  2. Click on the plus icon to Add a new transition.
  3. Here, set the Transition type as Width, Duration as 1000px, and Timing Function as Ease In.

Now if you go back to check the Preview, then you’ll see the Image smoothly transitioning to its Hover state unlike before. In this case, we can say Transition is essentially what makes this animation work.

The Transform module is a powerful tool for creating captivating 2D and 3D animations, adding depth and motion to your web pages.

Head over to Style Panel > Transform on the right-hand side of your screen to start playing with this module.

Basic Transformations

The Transform section offers four different types of transformation: 

  1. Move
  2. Rotate
  3. Scale
  4. Skew

Move

move transformation

As the name suggests, the Move Transform lets you shift your element across the page without affecting any of the other elements.

Similar to Rotate, you must apply 3D Transformation and set the Perspective for Move Z to have any effect. 

Rotate

Rotate transformation

Using Rotate Transform, you can tilt your element by any given angle.

The two toggles below Z Rotate allow you to tilt the element 15 degrees clockwise or anti-clockwise respectively.

On its own, rotating along the X or Y axes will result in a flat, 2D Effect, and rotating along the Z axis will have no effect at all. To get a 3D effect, you’ll have to do the following: 

  1. Select the parent element which may be a div, section, etc. 
  2. Go to Transform and enable 3D Transformation.
  3. Set the Child Perspective to 1000.

Doing this should switch the Move effect to a 3D perspective instead of simply 2D.

Scale

scale transformation

The Scale Transformation lets you increase or decrease the size of an element.

💡 Tip: Click on the link icon to link X and Y values which will cause elements to scale proportionately.

You can also use the two buttons below the Z-axis toggle to proportionately scale your element to be bigger or smaller. 

Skew

skew transformation

Using the Skew feature you can stretch your element. 

Fun Fact, know that for Skew, 3D Perspective doesn’t affect any change.

Set Transformation Origin

Set Transformation Origin

You can define the point from which the transformation originates. By default, this point is at the element’s center. You can set the origin using the grid model or the input fields on the right.

3D Transformation

3D Transformation

Enabling 3D Transformation is where the magic begins. It allows you to set the Perspective, which represents the 3D view on a 2D plane. This Perspective provides depth to 3D Compatible transformations.

Perspective can be set in two ways under the Distance section:

Self Perspective

To set the Self Perspective:

As previously mentioned, this distortion will be relative to this element and because of this nature, Self Perspective works best when you’re transforming a single element.

Child Perspective

Similarly, to set the Child Perspective:

As you may know, this distortion is relative to the viewport. This means that the parent element acts kind of like a camera through which the elements are viewed. 

In contrast to Self Perspective, Child Perspective is more realistic and is especially great when transforming multiple elements.

Perspective Origin

Following this, you can set your Perspective’s origin, i.e. at which position the user is looking at the element. Similar to Transformation Origin, you can use the grid model to set this or use the input fields on the right to define your own values: 

Scale Z

Using the Scale Transformation, you scale an element along the X, Y, and Z Axes. But unlike Scale X and Y, the true effect of Scale Z is not as obvious on its own. But in the right setting, Scale Z is a highly powerful feature. 

As mentioned earlier, you will notice its true effect when applied to a parent element that contains a group of child elements with varying Z values (for Move or Rotate). 

Scale Z Explained In Action

Let’s now go over exactly how you can make this feature work.

Consider a scenario where you have a Section containing a Container, which, in turn, holds three SVG Icons.

To grasp the concept, follow these steps:

  1. Child Perspective: Begin by selecting the Section. Set its Child Perspective to 1000px. Achieve this by navigating to Transform > 3D Transformation > Distance.
  2. Container Rotation: Proceed to select the Container. To better visualize the Scale Z effect, rotate the Container horizontally using a 50px Rotate X setting.
  3. Icon Z-Move: Apply the following settings to the three Icons within the Container:
    • Icon 1: Move Z by 10px
    • Icon 2: Move Z by 20px
    • Icon 3: Move Z by 30px
  4. Container Scale Z: Return to the Container and set its Scale Z value to 2. Observe how the effect appears to double the three Move Z values.

Basically, increasing or decreasing the Scale Z of a parent element will increase or decrease all varying Z values of the child elements be it Move Z or Rotate Z.

Adding 3D Animation Effect on Hover

Transform offers exciting possibilities for interactive animations. Let’s create a turning effect on images when hovered over:

Setup Your Page

  1. Design your page by starting with a Section element.
  2. Inside the Section, insert a Flex element with 3 Flex Tracks.
  3. Add an Image element to each Flex Track and choose the media you want to use for each Image. Use the Add From Media button for this purpose.
  4. Set the Flex’s alignment to Center and justify it to Space Evenly.

Transform Your Elements

Now, let’s turn our images so that they face away from the user. Do the following to achieve this:

  1. Select the Section and go to Transform
  2. Enable 3D Transformation and set the Child Perspective to 1000px.
  3. Select the first Flex Track and rotate it vertically by 60 degrees. You can do this by going to Transform > Rotate and setting the Y value to 60. 
  4. Repeat the same for the other two as well.

Animate on Hover

Your images should now appear turned to one side. Let’s add the animation: 

  1. Select the first Flex Track again.
  2. From the Class & Sub-class section on the right, click on the expansion icon to reveal the States Menu.
  3. While the Flex Track is selected, switch to the Hover state.
  4. Within the Transform settings, set Rotate Y to 0.
  5. Repeat these steps for the other two Flex Tracks.

Get a Smoother Transition

The images should now turn towards you when hovered over. However, the animation might look abrupt. Here’s how to fix it:

  1. Once more, select the first flex track. 
  2. Then, from the Style Panel, go to Transition
  3. Click on the + icon to add a new Transition and from the new pop-up window set the type as Transform, Duration to 300ms, and Timing Function as Ease.
  4. Now repeat the same for the other two as well.

And this is just one example of 3D Animation and you can apply the same concept to add any kind of animation to any elements of your choice.

In Droip, you have the flexibility to adjust the placement of elements using Position. This property is accessible in the Style Panel on the right-hand side.

Types of Position

Click on the dropdown at the top of this section to select the Position Type. Below is the list of the 5 different values the Position property has to offer:

Static

Static Position

Elements are positioned based on the usual flow of the document. Other values have no effect. This is set as the default value for Position.

Relative

Relative Position

Elements flow normally but can be offset using top, right, bottom, and left values. This means that other elements will behave as if it is taking their usual position even when its offset.

Absolute

Absolute Position

Elements are removed from the usual flow of the document and positioned relative to their closest ancestor if any or placed relative to the initial containing block

The final Position is based on the top, right, bottom, and left values.

Fixed

Fixed position

Fixed positioning removes an element from the normal document flow and positions it relative to the viewport, which means it remains fixed in its position even when the page is scrolled. This is true regardless of the ancestor elements’ properties like transform, perspective, filter, or will-change.

The element’s final position is determined solely by the values specified for top, right, bottom, and left, without considering the properties of their ancestor elements.

Sticky

Sticky Position

Elements are positioned based on the usual flow of the document and then offset relative to the nearest scrolling ancestor and containing block based on top, right, bottom, and left values. Other elements’ Position is not affected by this offset.

Adjust Position Using Offset Values

You can adjust an element’s position using the following offset values:

Float & Clear

Float & Clear position

Click on the Float & Clear button to open its settings. From here you can set the value for Float and Clear.

Float

Choose how elements should align within their container:

Clear

Set whether an element should be moved below floating elements that precede it. In other words, this defines what will happen to an element that’s next to a floating element. Also, this property applies to both floating and non-floating elements.

For this property, you can set any one of the following three:

Elevate your elements’ visual impact by applying effects like altering Brightness, Opacity, Hue, and more from the Style Panel > Effects.

Effects of Droip

Applying Effects

You can apply effects either directly on the element or on the backdrop behind it. Here’s how:

Available Effects

Explore various effects and their settings:

On Element vs On Backdrop

As you may have noticed, Effects can be applied to an element or to the backdrop. Selecting On Element means only the element and its children are affected by the changes. 

On the other hand, selecting On Backdrop means that only the backdrop behind the element will be affected. Check out the images below to get a better idea.

Blur effect On Element

Blur filter effect ‘On Element’ for Heading

Blur effect on backdrop

Blur filter effect ‘On Backdrop’ for Heading

In the above images, the first instance is the effect of the blur filter on the Heading element. This adds a blurry effect to the entire text box up to its margins.

On the other hand, the second instance shows the effect of the blur filter on the backdrop of the Heading element. This causes the portion of the backdrop occupied by the Heading element to blur but the text remains sharp.

💡 Tip: Keep in mind that, for the backdrop to be visible, at times you might have to lower the opacity of your element. Of course, this is only in case of elements that are totally opaque or have an opaque background.

Cursor

From the dropdown at the very top, you can change the style of the Cursor for an element. This feature helps improve interactivity since users associate certain pointers with specific types of elements. 

For instance, the (Text) Cursor is associated with blocks of text while the (Grab) Cursor lets the user know that the element can be dragged.

Now let us go over the various Cursor styles and when they can be used.

Droip cursor style

Shadows are a powerful tool to add depth and emphasis to your elements. You can find the Shadow feature in the Style Panel on the right side of the Droip interface.

Add shadow in Droip

Adding and Managing Shadows

Add Shadow: Click on the + icon to add a new Shadow layer. A new Shadow item will be added to the list.

Adding and Managing Shadows

Reorder Shadows: Use the four-dot icon to drag and rearrange the order of Shadow layers.

Visibility: Toggle the visibility of the Outer Shadow by clicking the eye icon on the right.

Remove Shadow: Click on the dash icon to remove the selected Shadow.

Shadow Settings

Shadow Settings

Customize your Shadow settings with the following options:

Shadow Presets

Instead of customizing your own shadow, you can save time by using a Shadow Preset

Shadow Presets

To access Shadow Presets:

  1. Click the Show button at the bottom of the Shadow section.
  2. Choose from a range of preset shadows.
  3. Select a preset to apply it instantly.

Saving Custom Shadows

Saving Custom Shadows

Create and save your own custom Shadow presets:

  1. Click the + icon beside the last preset option.
  2. In the new window, name your preset and click Add.
  3. This saved preset can be reused across different elements.

Using Shadow For Animated Transitions

Leverage shadows to emphasize elements in various states, like Hover mode with transitions:

  1. Start by adding an Outer Shadow to your element with an opacity of 30% from Style Panel > Shadow.
  2. Go to Style Panel > Class & Sub-class > States Menu and select the Hover state.
  3. Increase the opacity of the shadow to 40% for the Hover state.
  4. While your element is selected, navigate to Style Panel > Transition and add a new Transition.
  5. Set the transition type as Box Shadow, with a duration of 300 ms and a timing function of Ease.

The Stroke feature within the Style Panel of Droip lets you emphasize elements by adding borders or outlines. Here’s a step-by-step guide on customizing strokes for your elements:

Stroke in Droip

Border

A border consists of lines drawn around an element’s edge, enclosing its content. You can adjust the following options:

Stroke Border

Individual Border

Click the three-dot icon at the top-right to access the Individual Border toggle. This feature lets you set distinct settings for each edge.

To customize borders for each edge:

  1. Click on edges to select/deselect or use the center dot to select all edges at once.
  2. Customize size, color, etc., for each edge.

💡Tip: Use this feature to set one edge of an element a lighter color than the other three to create a 3D effect as shown in the image above.

Visibility

Click on the eye icon to disable/enable the visibility of the border.

Outline

Stroke outline

Outlines fully enclose an element and are drawn outside its edges. Customize your outline with the following options:

Styles

Click on the Show button to open this section. You can choose from various styles under the Border and Outline Tabs:

Use Cases

Strokes, borders, and outlines can be used creatively to enhance your designs:

Using Stroke For Animated Transitions

You can use strokes to emphasize elements during Hover or Focus states. Here’s an example involving an Image element but this can be applied to other elements too:

  1. Select your Image element and from Style Panel > Stroke, set its border size to 8px and radius to 100%. Also, select a color for your border from here.
  2. Then, go to Style Panel > Class & Sub-Class > States Menu. (If you don’t see the States Menu, don’t forget to click on the Expand icon on this section’s top-right.) and select the Hover state. 
  3. Next, go back to the Stroke section, and set the border size to 0px and the radius to 0%.

Now set up a Transition for smoother border appearance:

  1. Go to Style Panel > Transition and click on the + icon to add a new transition.
  2. On the new pop-up window, click on the dropdown on the top-left and select the Border Radius option as the transition property.
  3. Set the Duration as 300 ms and the Timing Function as Ease and you’re done!

Click on the Preview icon which you’ll find on the right side of the Top Bar to see this transition in motion.

Best Practices

For effective design with strokes, borders, and outlines, consider these best practices:

From the Style Panel > Background section, you can customize the background color and style of elements according to your preferences. 

Droip background

Background Types

Within this section, users have the ability to select from various background styles, each offering distinct visual effects. The following options are available:

Adding a background

Adding a Background

Select your element and then select the background type you want to add from this section. Then, click on the + icon on the right to add it to your element.

Linear background

Solid Color Background

For a Solid Color background, the Color Picker will appear. Users can opt for any color of their choosing to serve as the background.

Solid color background

Gradient Types

If any Gradient style is selected, the corresponding Gradient Settings will emerge. Users can then define the colors for their gradients and make adjustments to positioning and angles.

Learn more about Color Settings.

Image Type Background

You can also choose an Image type background. This will open Background Image Settings where you can set your Image and adjust it to suit your taste.

Background Image Settings

Background Image Settings

Selecting the Image background option opens the Background Image Settings. In this interface, users can upload their preferred image and tailor it to align with their preferences.

Image position

Read detailed documentation on Position.

Background Layer Management

Background Layer Management

Multiple backgrounds of varying types can be added, with each background acting as a layer. For these layers, you can:

Switching Background Styles

Switching Background Styles

To change the background type, open the dropdown in the top-left corner of the editing window and select the background type you want to switch to.

Background Blend Mode

Background Blend Mode

You can also define how the current background layer that you’re editing will blend (overlap) with the background layer below it. To do so, simply click on the drop icon that’s on the top right corner of the background edit panel.

This will open up a dropdown list containing all of the Blend Mode options that are available:

Clip Background

Use the Clip Background feature to define whether the backgrounds will extend underneath its padding, content, border, or text.

Clip Images to Text

Droip provides a convenient way to clip images to text for contemporary design trends. To achieve this, follow these steps:

  1. Select your Text or Heading element.
  2. Go to Style > Backgrounds and choose Image type background.
  3. From the Image Background Settings, add your Background Image.
  4. Open the Clip Background dropdown and select the Text option.
  5. Go back to the image background settings to configure its placement.

And voila, you’ve successfully clipped your image background to your text!