- CSS Tutorial
- CSS - Home
- CSS - Introduction
- CSS - Syntax
- CSS - Inclusion
- CSS - Measurement Units
- CSS - Colors
- CSS - Backgrounds
- CSS - Fonts
- CSS - Text
- CSS - Images
- CSS - Links
- CSS - Tables
- CSS - Borders
- CSS - Margins
- CSS - Lists
- CSS - Padding
- CSS - Cursors
- CSS - Outlines
- CSS - Dimension
- CSS - Scrollbars
- CSS Advanced
- CSS - Visibility
- CSS - Positioning
- CSS - Layers
- CSS - Pseudo Classes
- CSS - Pseudo Elements
- CSS - @ Rules
- CSS - Text Effects
- CSS - Media Types
- CSS - Paged Media
- CSS - Aural Media
- CSS - Printing
- CSS - Layouts
- CSS - Validations
- CSS3 Tutorial
- CSS3 - Tutorial
- CSS3 - Rounded Corner
- CSS3 - Border Images
- CSS3 - Multi Background
- CSS3 - Color
- CSS3 - Gradients
- CSS3 - Shadow
- CSS3 - Text
- CSS3 - Web font
- CSS3 - 2d transform
- CSS3 - 3d transform
- CSS3 - Animation
- CSS3 - Multi columns
- CSS3 - User Interface
- CSS3 - Box Sizing
- CSS Responsive
- CSS - Responsive Web Design
- CSS References
- CSS - Questions and Answers
- CSS - Quick Guide
- CSS - References
- CSS - Color References
- CSS - Web browser References
- CSS - Web safe fonts
- CSS - Units
- CSS - Animation
- CSS Resources
- CSS - Useful Resources
- CSS - Discussion
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
CSS3 - User Interface
The user interface property allows you to change any element into one of several standard user interface elements.
Some of the common properties which are using in css3 User interface.
Sr.No. | Value & Description |
---|---|
1 | appearance Used to allow the user to make elements as user interface elements. |
2 | box-sizing Allows to users to fix elements on area in clear way. |
3 | icon Used to provide the icon on area. |
4 | resize Used to resize elements which are on area. |
5 | outline-offset Used to draw the behind the outline. |
6 | nav-down Used to move down when you have pressed on down arrow button in keypad. |
7 | nav-left Used to move left when you have pressed on left arrow button in keypad. |
8 | nav-right Used to move right when you have pressed on right arrow button in keypad. |
9 | nav-up Used to move up when you have pressed on up arrow button in keypad. |
Example of resize property
Resize property is having three common values as shown below −
- horizontal
- vertical
- both
Using of both value in resize property in css3 user interface −
<html> <head> <style> div { border: 2px solid; padding: 20px; width: 300px; resize: both; overflow: auto; } </style> </head> <body> <div>TutorialsPoint.com</div> </body> </html>
It will produce the following result −
CSS3 Outline offset
Out line means draw a line around the element at outside of border.
<html> <head> <style> div { margin: 20px; padding: 10px; width: 300px; height: 100px; border: 5px solid pink; outline: 5px solid green; outline-offset: 15px; } </style> </head> <body> <div>TutorialsPoint</div> </body> </html>
It will produce the following result −