
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 1594 Articles for CSS

6K+ Views
The space character (" ") is used to add space between elements in CSS. it used in the content property of a pseudo-selector, such as :after or :before, it creates a blank space that can be used to separate elements or add visual spacing to a web page. In annexation to using the space character, we can also use other CSS properties such as margin, padding, border, or width to add space between elements. These properties allows to control the amount of space and the position of space between elements. Adding space (" ") after an element using :after ... Read More

711 Views
A non-standard font refers to any font that is not a part of the default set of fonts that are available in most browsers in CSS. Default fonts, including Arial, Times New Roman, and Verdana, are standard fonts because they are pre-installed on most computers and devices. Non-standard fonts are fonts that are not pre-installed and must be specifically loaded onto a website in order to be used. These fonts can be obtained from websites such as Google, Adobe, or MyFonts. They can also be custom-designed or purchased. Using non-standard fonts helps to add a unique and personalized touch ... Read More

2K+ Views
Rounded corners add a soft and smooth look to a website and make it more visually appealing. It is a subtle design element that can make a big difference in the overall look and feel of a website. In CSS, a rounded corner is a design element that creates a rounded edge on the corners of an HTML element, such as a div, a button, a form, or an image. The "border-radius" property is used to create rounded corners in CSS. The value of this property determines the radius of the rounded corners. The "border-radius" property can be applied ... Read More

1K+ Views
If you wish to control how an element is to be positioned in a web page, we have to make use of the position CSS property. The properties that define the position of an element in document are essential, its top, left, bottom, and right properties and position is a shorthand property that can be used to set all four of these. The possible values that we can use with position property are specified below − Static − The element is placed in accordance with the document's natural flow. No difference is made by the top, right, bottom, ... Read More

2K+ Views
CSS (Cascading Style Sheets) is a style sheet language that is mainly used to style and describe the elements of HTML documents. One of the main features of this programming language is the separation of elements and presentation such as layers, colors, etc. CSS is used to style all HTML tags, including the document's body, headings, paragraphs, and other pieces of text. CSS can also be used to style the display of table elements, grid elements, and images. The main difference between these two programming languages is that HTML (Hypertext Markup Language) is a language used to describe ... Read More

3K+ Views
To start with this question, we first need to create a ‘loader’. Any animation that informs a user or visitor that a page is now loading and will take a few seconds to finish loading is referred to as a loader. The majority of the time, loaders come in handy when a website takes too long to retrieve the results. If a particular website doesn't have a CSS loader, the user will believe, it is not responding at all during the loading process. Therefore, adding a CSS loader to a webpage causes the user to become distracted or wait ... Read More

346 Views
Let us try to understand the flex property. Flex is a shorthand property that sets the condition for length of flex element, whether it will be allowed to adjust itself based on the amount of content it has or the viewport width. Flex Properties The constituent properties of flex property are specified below − Flex-grow This property sets the space that will be assigned to the item out of all the space that is remaining in the flex-container. In other words, it sets whether the main size of the item will be allowed to grow beyond or not. The ... Read More

390 Views
Before moving onto learning the way of using font-optical-sizing property, we will first be looking at the font-property in CSS and why is there a need for font-optical-sizing as a separate property. The styling of the text on the web page is controlled by the font property in CSS which is a shorthand for many other properties. It can be used to apply the system’s font to an element or set different values for other CSS properties. Font Property This property gets applied to all the elements and is inheritable by nature, meaning the font of the child ... Read More

994 Views
A good website is always made up of a perfectly structured HTML document paired with a beautifully created design that grabs the user’s attention. This kind of website is what enhances the overall interactivity of the site making it more engaging. When applying styles to our webpages, we employ Cascading Style Sheets, or CSS for short. We can more easily make a website presentable by using CSS. It distinguishes between the HTML document's structure and the presentation, which refers to the elements that users see and interact with. As opposed to a plain and uninteresting appearing website that ... Read More

373 Views
Cascading Style Sheets, or CSS in short, is used when we need to apply styles to our websites. The use of CSS makes it easier for us to make a website presentable. It separates the structure, which is made up of HTML document, from the presentation, which implies the part which the user sees and interacts with. Why do we need CSS for presentation Having a different and creative style has become a must have property for a website, as it makes the website fun to interact with, instead of a plain and dull looking website which can be made ... Read More