Found 1564 Articles for CSS

Design a Vertical and Horizontal menu using Pure CSS

Yaswanth Varma
Updated on 09-Oct-2023 11:00:27

129 Views

The menu is a crucial component of any website. It helps visitors find your quality material and directs them to the key portions of your website. Of course, CSS is the best language for creating stunning navigation menus. It is incredibly adaptable and can be used for any kind of website. It can be shown either horizontally or vertically before the primary content of the webpage or header. The task we are going to perform in this article is to design a vertical and horizontal menu using Pure CSS. That can be done by using the and tags. ... Read More

Different ways to hide elements using CSS

Yaswanth Varma
Updated on 08-Sep-2023 17:20:47

86 Views

There are instances when you simply don't want every element of your website to be exposed. In other words, you don't want every template element of a page, post, header, or footer displayed every time it appears. And while it might appear that you need to update the template or theme code each time you want this omission to happen, that's not actually true. In fact, with only CSS, you may rapidly hide parts of your website. And it's really not that difficult. Let's dive into the article for getting better understanding of the different ways to hide elements using ... Read More

How to Create Image Accordion using HTML and CSS?

Aayush Mohan Sinha
Updated on 07-Sep-2023 17:24:04

321 Views

In the domain of web design, discovering groundbreaking methods to exhibit images and other multimedia content is a pivotal facet of developing a captivating user experience. One popular technique that has gained significant traction in recent years is the image accordion, which allows users to easily navigate through a collection of images by expanding and collapsing individual sections. In this article, we will explore the steps required to create an image accordion using HTML and CSS, providing you with a simple yet effective way to enhance the visual appeal of your website. Whether you’re a seasoned web developer or just ... Read More

How to create a CSS3 property for each corner?

Jaisshree
Updated on 31-Aug-2023 19:17:52

44 Views

The revolutionary impact of CSS3 on web design cannot be overstated. This modern technology has not only enriched the visual appeal of web pages but also enhanced user engagement. Among the myriad of features that CSS3 offers, the creation of distinctive CSS3 properties for each corner of a web element stands out as a significant breakthrough. To create a CSS property for a corner, we will use 5 different methods using − Border-radius property Individual corner properties Clip path property Mask image property Approach 1 - Using Border-radius Property By utilizing the border-radius property in CSS, one can ... Read More

How to create Olympics logo using HTML and CSS?

Nikhilesh Aleti
Updated on 31-Aug-2023 14:52:59

390 Views

The given task in this article is to create an Olympics logo using only HTML and CSS. The “Olympic logo” consists of five circles (with five different colors such as blue, black, red, yellow, and green) which are intertwined by equal dimensions. These five colored rings represent the five inhabited continents of the world. These are Africa, the Americas, Asia, Europe, and Oceania. Setting up the Logo Container − We start by creating an element with the class name Olympic-logo. This serves as the container for the Olympic symbol. We set its width, height, background color, position, and ... Read More

Flip the text using CSS

Nikhilesh Aleti
Updated on 29-Aug-2023 17:43:21

1K+ Views

Flipping is a technique that can transform or mirror an element on a particular axis (horizontal or vertical). We can flip the text using CSS instead of using JavaScript. There are various ways to flip a text, some of them are listed as follows − Horizontal text flip Vertical text flip Mirroring the text Following is the approach to perform a flip − Step 1 − Create an HTML file and use the element with some class name “XYZ” to add the text. Step 2 − Now, add CSS to specify the display and margin properties ... Read More

Fading Text Animation Effect Using CSS3

Nikhilesh Aleti
Updated on 29-Aug-2023 17:41:52

1K+ Views

Fading is a visual representation of a gradual transition between two states of visibility. We can perform this fading animation using the @keyframes rule and opacity property in CSS3. The @keyframes rule can be used with the opacity property to control the fading CSS animation sequence by defining styles for keyframes. The style change will happen with the keywords “from” and “to”. If we define opacity from 0 to 1; 0 is considered the beginning of the animation (blur) and 1 is the ending of the animation (completely visible). If we define opacity from 1 to 0; it will ... Read More

Creating an Animated Side Navbar using HTML and CSS

Nikhilesh Aleti
Updated on 29-Aug-2023 17:16:54

372 Views

A Navigation Bar is a GUI element which allows the users to navigate through a website or application. It is typically a list of links at the top or side of the screen and assists users in navigating to various areas or pages within the website. Navigation bars are implemented in operating systems, file browsers, web browsers, apps, web sites and other similar user interfaces. In this article, we are going to design an animated side navigation bar using HTML, CSS, and JavaScript. How to Create an Animated Side Navigation Bar Following are the steps to design an animated side ... Read More

Create a Letter-Spacing Animation Effect using HTML and CSS

Nikhilesh Aleti
Updated on 29-Aug-2023 17:14:20

176 Views

In this article, we are going to create a letter-spacing animation effect using HTML and CSS. To do so, we have CSS letter-spacing property and CSS @keyframes rule. CSS Letter-spacing Property The letter-spacing property in CSS is used to set the horizontal spacing between the text characters. If we assign a positive value for this property, the character spaces will spread farther apart. If we assign a negative value for this property, it brings the characters closer together. Syntax Following is the syntax of CSS letter-spacing property − letter-spacing: value; CSS @keyframes Rule In CSS, the ... Read More

Convert an image into Blur using HTML and CSS

Nikhilesh Aleti
Updated on 07-Sep-2023 15:14:08

409 Views

In general, blur is a visual effect of human eye that happens when the viewer cannot be able to see the details of the object clearly. In HTML, we can apply the blur effect to elements on webpage (such as images) using CSS properties. To do so, we use the filter property along with the blur() function. This function applies a Gaussian blur effect to the image element, which makes it softer and less defined. Syntax Following is the syntax of the filter property with blur() function − filter: blur(radius); This function accepts a single parameter (i.e. radius) that ... Read More

Advertisements