Found 8895 Articles for Front End Technology

Fading Text Animation Effect Using CSS3

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

2K+ 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

Difference between “blank” and “_blank” target attributes in HTML

Nikhilesh Aleti
Updated on 29-Aug-2023 17:19:19

280 Views

Sometimes, we may have noticed links on webpages that leads us to a different webpage. In some websites, if we click on that certain links, they will open in a new browser tab or on a new window and some websites reuse one new browser tab for subsequent clicks on the link. Additionally, some websites use the same original page for the links. These behaviors are achieved by utilizing the HTML target attribute. In this article, we will explore how to use the target="blank" and target="_blank" attributes to open hyperlinks in new tabs. The Target Attribute The target is an ... Read More

Creating an Animated Side Navbar using HTML and CSS

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

448 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

332 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

Create a Hoverable Side Navigation with HTML, CSS and JavaScript

Nikhilesh Aleti
Updated on 29-Aug-2023 17:12:22

202 Views

A navigation bar is part of a webpage where it contains links to appropriate sections/ pages in a website that helps users in browsing the website fast and effortlessly. The navigation bar can be implemented in many ways, but the traditional way of implementing is horizontal and vertical bars. In this article, we are going to design a vertical side navigation bar using HTML, CSS, and JavaScript. Creating a Hoverable Side Navigation Following are the steps to design hoverable side navigation buttons with HTML, CSS, and JavaScript − Step 1 − Add the following HTML code. ... Read More

Convert an image into Blur using HTML and CSS

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

820 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

Alternative for blink tag

Nikhilesh Aleti
Updated on 29-Aug-2023 17:02:48

391 Views

The HTML tag is used to create a blinking effect on texts. The text inside this tag would flash on and off at a default rate. The main purpose of this tag is that it can draw attention of the user. However, this tag is no longer supported and it is deprecated in HTML 4.0 version and is no longer supported in modern browsers. Instead, we can use CSS animations or JavaScript as an alternative for the “” tag. Syntax Following is the syntax of HTML tag − The text to blink. Example In the ... Read More

Adding HTML entities using CSS content

Nikhilesh Aleti
Updated on 29-Aug-2023 16:59:46

2K+ Views

In HTML and CSS, entities are special characters that have reserved meanings or representations. They are typically used to display characters that are not readily available on a standard keyboard or, to represent special symbols or characters with specific semantic meanings. CSS provides a way to add HTML entities using the content property. The content property is primarily used with pseudo-elements, such as ::before and ::after selectors, to insert content before or after an element. CSS ::before and CSS ::after Selectors The ::before selector is used to add or insert something before the content of each selected element. Following is ... Read More

How to use media queries in a mobile-first approach in HTML?

Abhishek
Updated on 31-Aug-2023 14:46:09

95 Views

Building a responsive web design is a must have and a skill that every developer must be aware and know how to build a completely responsive nug free website. Which appears differently on different screen width devices and will not look oddly or overflow when opened on different devices. It is very important to know everything about building a mobile-first design starting from approach to build until the design is ready with no bugs and tweaks. A responsive website must have a good user experience, user interface and design for all devices with same content. To build a fully responsive ... Read More

How to use margin, border and padding to fit together in the box model?

Abhishek
Updated on 31-Aug-2023 14:44:27

116 Views

In general, we use the box model to define all these properties to use them together. Box model is a model that is used to define the different CSS properties that a box contains like the margin, border, padding and the most important content. A box model in CSS generally defines the properties like margin, border, padding and the content. Before understanding how to use padding, margin, border and content to fit together in a box model. Let us understand what these properties actually does when they applied on a container. Content − The content is the most important and ... Read More

Advertisements