How to resize list style image in CSS ?
In this article, we will learn to set an image or icon as the <li> image. We need to set the size of the custom list image to make it attractive. So, we will also learn the different ways to resize the custom list image....
read more
How to use flex to shrink an image in CSS ?
You can easily shrink an image by using the flex-wrap property in CSS and it specifies whether flex items are forced into a single line or wrapped onto multiple lines. The flex-wrap property allows enabling the control direction in which lines are stacked. It is used to designate a single line or multi-line format to flex items inside the flex container....
read more
CSS | fit-content() Property
The CSS fit-content property is an inbuilt property in CSS. This property is used to adjust the size according to this formula min(maximum size, max(minimum size, argument)). The fit-content() property use to defined function to put a limit on the maximum size of the division. This formula is very helpful while dealing with CSS grids. However, it must be kept in mind that fit-content() is not compatible with Internet Explorer on PC. Different CSS units can be used in this formula. The fit-content() function accepts length and percentage as arguments.Syntax:...
read more
CSS background-color Property
The background-color property in CSS is used to specify the background color of an element. The background covers the total size of the element with padding and border but excludes margin. It makes the text so easy to read for the user....
read more
How to bold the text using CSS ?
We know that in HTML, we have <b> and <strong> tags to make the content bold. When it comes to making a piece of text bold using CSS, then also we have an appropriate property to do the same....
read more
CSS list-style-type Property
The list-style-type property is your go-to tool for customizing the look of list item markers. Whether you’re aiming for a traditional disc marker or a unique character, or even a custom counter style, list-style-type has got you covered. This comes into play especially when the list-style-image property is set to ‘none’, allowing list-style-type to take the center stage in styling your lists....
read more
How to reorder div elements using CSS only ?
We can reorder HTML elements by using many methods in CSS. We use flexbox’s order property. Order property is used to change the visual order and not their logical order. Items in a container are sorted in ascending order value and then by their source code order....
read more
How to create dropdown list using JavaScript ?
In this article, we are going to learn how to create a dropdown list using javascript, The dropdown list menu is very helpful for users when they visit any website. It makes a better experience for the user to use all kinds of services provided by the website without any hassle. In this article, we are going to create a dropdown list using HTML, CSS, and most important JavaScript....
read more
How to find an element by text using jQuery ?
We will learn how to find an element using jQuery’s API. This article requires some knowledge of HTML, CSS, JavaScript, Bootstrap, and jQuery. The elements can be selected based on whether they contain the string we want to find. This can be done using the jQuery contains selector to select elements that contain the string....
read more
How to display video controls in HTML5 ?
The HTML <video> controls attribute is used to display video controls in HTML5.  It is the Boolean value. HTML5 most commonly uses ogg, mp4, ogm and ogv as a video formats in the video tag because the browser support for them differs....
read more
CSS background-image Property
The CSS background-image property sets one or more background images for an element. It allows you to specify the image URL and combine it with other background properties to control its position, size, repeat behavior, and more, enhancing the visual design of web pages....
read more
How to align an element to bottom with flexbox in CSS ?
CSS Flexbox display: flex property allows you to align the items according to the requirements. You can easily align and distribute elements within a container using flexbox along a single axis or across both axes. Flexbox is a powerful and flexible tool for creating complex layouts that do not rely on float or position properties....
read more