# Elastic Capabilities

This article explains the **elastic capabilities RadRotator offers**. The control supports **elastic design since Q2 2014**.

Generally, responsive design means that the page and its content are able to adapt to different screen resolutions without deteriorating the user experience. This often includes  changing the font size  and having  [dimensions set in percent](https://www.telerik.com/products/aspnet-ajax/documentation/controls/rotator/mobile-support/fluid-capabilities).

> caption **Figure 1**: Comparison between appearance of a RadRotator with regular font size and with increased font size.

![rotator-elastic-comparison](https://www.telerik.com/products/aspnet-ajax/documentation/assets/1fb9efdf5ce51bbaeafcca8c26790597/rotator-elastic-comparison.png)

**RadRotator** supports changing the font size without breaking the control's appearance - if the new size is larger than the original, the elements of the rotator's control buttons will simply increase their size as well to accommodate the element inside. This fluid layout is achieved by using em units for setting dimensions and paddings in the control, instead of px because em units are tied to the font size. This allows dimensions and sizes to scale with the font size. The elastic capabilities of **RadRotator are supported by IE10+ and all modern browsers**.

> note As of 2016 Q1 SP1 **RadRotator** takes the [font-size](https://www.telerik.com/products/aspnet-ajax/documentation/styling/controlling-visual-appearance/fonts) of the page automatically. If the developer does not set it explicitly (**Example 1**), this is up to the client's browser and a common default value is 16px.

> caption **Example 1**: Setting default font for the page with the default value for the Telerik controls.

```CSS
body {
	font-size: 20px;
	font-family: "Segoe UI", Arial, Sans-serif;
}
```

> note The size of **RadRotator** remains the same when the control buttons are resized. As a result the rotator changes the width of its view port (the area in which the items are visible), which means that most probably the first or/and last item will be cut off.

**Example 1** shows how to increase the font size of a **RadRotator** control and the effect can be seen in comparison in **Figure 1**.

> caption **Example 1**: The font size of **RadRotator** is set to 18px.

```ASP.NET
<style type="text/css">
	div.RadRotator {
		font-size: 18px;
	}
</style>
<telerik:RadRotator RenderMode="Lightweight" runat="server" ID="RadRotator1" Skin="Silk" RotatorType="Buttons" Width="400px" ItemWidth="200px" Height="150px">
	<Items>
		<telerik:RadRotatorItem ID="RadRotatorItem1" runat="server">
			<ItemTemplate>
				Item 1
			</ItemTemplate>
		</telerik:RadRotatorItem>
		<telerik:RadRotatorItem ID="RadRotatorItem2" runat="server">
			<ItemTemplate>
				Item 2
			</ItemTemplate>
		</telerik:RadRotatorItem>
		<telerik:RadRotatorItem ID="RadRotatorItem3" runat="server">
			<ItemTemplate>
				Item 3
			</ItemTemplate>
		</telerik:RadRotatorItem>
		<telerik:RadRotatorItem ID="RadRotatorItem4" runat="server">
			<ItemTemplate>
				Item 4
			</ItemTemplate>
		</telerik:RadRotatorItem>
	</Items>
</telerik:RadRotator>
```

These elastic capabilities also allow you to easily modify the appearance of the rotator's control buttons. They are defined using CSS3 in the browsers, mentioned above, which means that editing a sprite image is not needed to create a different appearance for the buttons. You can find more information about configuring the control buttons in the help article [Creating a Custom Skin from an Existing One](https://www.telerik.com/products/aspnet-ajax/documentation/controls/rotator/appearance-and-styling/create-a-custom-skin-from-an-existing-one).

## See Also

* [RadRotator - Responsive capabilities](https://www.telerik.com/products/aspnet-ajax/documentation/controls/rotator/mobile-support/overview)

* [RadRotator - How to configure RadRotator](https://www.telerik.com/products/aspnet-ajax/documentation/controls/rotator/getting-started/overview)

* [RadRotator - RadRotator types](https://www.telerik.com/products/aspnet-ajax/documentation/controls/rotator/functionality/radrotator-types)

* [RadRotator - Creating a Custom Skin from an Existing One](https://www.telerik.com/products/aspnet-ajax/documentation/controls/rotator/appearance-and-styling/create-a-custom-skin-from-an-existing-one)

* [Fonts](https://www.telerik.com/products/aspnet-ajax/documentation/styling/controlling-visual-appearance/fonts)

* [Visual and Dimension Improvements in UI for ASP.NET AJAX](http://www.telerik.com/blogs/visual-and-dimension-improvements-in-ui-for-asp.net-ajax)
