Found 8895 Articles for Front End Technology

How to create radio button similar to the toggle button using Bootstrap

Aman Gupta
Updated on 11-Apr-2023 16:05:14

1K+ Views

Overview We can create a radio button same as the toggle button which can be used in our web application in the part where we have to choose the options or regarding changing actions. In creating the radio button we can use the bootstrap predefined classes which will help us to build a radio button. A toggle button is a button which is the same as a normal button toggleable button and a radio button is a button with a checkbox like shape in front of the option. Content Delivery Network (CDN) Links These CDN links are used to ... Read More

How to set align-self property to its default value in CSS?

Shabaz Alam
Updated on 12-Apr-2023 09:03:02

196 Views

CSS or Cascading Style Sheets is a powerful tool that provides a range of properties for aligning and positioning elements on a web page. The align-self property is one of the many properties available in CSS, which is used to adjust the alignment of individual flex items within a flex container. By default, align-self is set to auto, which means that the element will inherit the alignment of its parent container. However, this behavior can be changed for individual flex items by setting the align-self property. scc selector{ align-self: auto; } The align-self Property in CSS Before we discuss ... Read More

How to create progress bar using the HTML and CSS

Aman Gupta
Updated on 11-Apr-2023 16:03:32

2K+ Views

Overview The progress bar is the main component for any web application. The progress tells the completion of a certain project or task. In this module we will build the progress bar using the HTML and will style it through the CSS. We will also provide the progress animation to our progress bar. In this task we will use the @keyframes to make the progress bar animated. Using the animation styling property such as animation duration, name, timing, etc. Algorithm Step 1 − Create a HTML boilerplate in your text editor. Step 2 − Create the parent div container ... Read More

How to create progress bar in different colors in Bootstrap

Aman Gupta
Updated on 11-Apr-2023 16:01:18

717 Views

Overview Bootstrap provides beautiful ways to build the components to our website. The bootstrap comes up with certain classes by using these classes in our tags. A whole component can be built very nicely without adding an external style sheet, but if we want to make some changes to the component then we can add a stylesheet to it. To create a simple progress bar with the help of bootstrap, we will use certain bootstrap classes these are − progress progress-bar If we want to create a progress bar with the animated striped, bootstrap has its own ... Read More

How to create Portfolio Gallery using the HTML and CSS

Aman Gupta
Updated on 09-Nov-2023 14:11:34

1K+ Views

Overview A portfolio gallery can be a collection of any types of photos and videos that represent the past work of the organization. To build a portfolio gallery we will use HTML and CSS. The HTML will help us in building the skeleton of the portfolio gallery and CSS is used to make the styling of the portfolio. As the portfolio will also be the main component of our website so we will make this page responsive using some CSS properties. Algorithm Step 1 − Create a HTML boilerplate on your text editor. Step 2 − Create a container ... Read More

Which property specifies the right padding of an element in CSS?

Shubham Vora
Updated on 12-Apr-2023 09:01:50

141 Views

In CSS, the padding property allows us to add extra space between the HTML element’s border and its content. The right padding means only adding the space between the element’s content and the right border. Here, we will learn two different properties to specify the right padding of an element. Use the padding-right CSS Property The ‘padding-right’ property specifies the right padding of an element in CSS. Whenever we specify the right padding for an element, the width of the element becomes equal to the actual width + right padding. Syntax Users can follow the syntax below to specify the ... Read More

How to create a pop-up div on mouse over and stay when click using jQuery

Aman Gupta
Updated on 11-Apr-2023 15:51:28

3K+ Views

Overview The pop-up div can be created with the help of HTML, CSS and the functioning of which can be done with the help of ‘Javascript’ library ‘jQuery’. To make the mouseover and stay functionality to the div jQuery has a built in pre defined function. The two functions which are mainly used in this task are − mouseover − This function triggers when the mouse is over the selected element. mouseout − This function triggers when the mouse leaves the are of the selected element for mouse over. Algorithm Step 1 − Create a ... Read More

Which property is used to set the background image of an element using CSS?

Shubham Vora
Updated on 12-Apr-2023 09:00:08

371 Views

In CSS, the ‘background-image’ property is used to set the background image of an element using CSS. The background-image property takes 4 different properties, as explained below. Url () − It takes an image path or remote url to fetch the image from a particular location and set it as a background. None − Users can use none as a value of the background-image property to remove the background. Initial − It sets the initial background, which will be none in most cases. Inherit − It sets the same background image as the parent elements. Syntax Users ... Read More

Which property is used to make a font oblique?

Shubham Vora
Updated on 11-Apr-2023 17:09:28

223 Views

In CSS, we can use the ‘font-style’ property to set the style of the font. We can use the different styles as a value of the font-style property, and ‘oblique’ is one of them. Basically, the ‘oblique’ font is a sloppy version of the text, and we set the angle to decrease or increase the slope of the text. Here, we will make a font oblique in the various examples. Syntax Users can follow the syntax below to make a font oblique using the font-style property of CSS. font-style: oblique; Example 1 In the example below, we have created ... Read More

Which one should we use ‘border: none’ or ‘border: 0 ‘?

Shubham Vora
Updated on 11-Apr-2023 17:06:54

474 Views

In CSS, the ‘border’ property is used to add a border to the HTML elements. We can add a border of widths, styles, and colours to the HTML element. Two border values come to mind when we need to remove the border from any element. The first value is ‘none’, and the second is ‘0’. Sometimes, it creates confusion about which value we should use, and in this tutorial, we will clear that doubt. Syntax Users can follow the syntax below to use the ‘none’ or ‘0’ as a value of the ‘border’ property. border: none; border: 0; Border: ... Read More

Advertisements