Ankith Reddy has Published 1070 Articles

Nesting Columns in Bootstrap

Ankith Reddy

Ankith Reddy

Updated on 12-Jun-2020 08:37:22

2K+ Views

To nest your content with the default grid, add a new .row and set of .col-md-* columns within an existing .col-md-* column. You can try to run the following code to learn how to implement nesting columns in Bootstrap −Example Live Demo           Bootstrap Example     ... Read More

HTML
    reversed Attribute

Ankith Reddy

Ankith Reddy

Updated on 11-Jun-2020 11:08:46

3K+ Views

The reversed attribute of the element in HTML is used to set reversed ordering of list items in an ordered list. It displays the numbering in descending order and introduced in HTML5.Following is the syntax −Let us now see an example to implement the reversed attribute of the ... Read More

Execute a script when the media has started playing in HTML?

Ankith Reddy

Ankith Reddy

Updated on 30-May-2020 22:48:38

79 Views

Use the onplaying attribute to let users know that the audio/ video started playing.ExampleYou can try to run the following code to learn how to execute a script when the media has started playing −                                        Your browser does not support the video element.                      function display() {          alert("Video started playing!");          }          

How to set whether the dragged data is copied, moved, or linked, when dropped in HTML?

Ankith Reddy

Ankith Reddy

Updated on 29-May-2020 22:12:50

45 Views

Use the dropzone attribute to set whether the dragged data is copied, moved or linked.Copy − The drop will create a copy of the dragged element.Move − The dragged element will get moved to the new location.Link − It creates a link to the dragged data       Try the following to work ... Read More

Get the number of bytes in a file in C#

Ankith Reddy

Ankith Reddy

Updated on 07-Apr-2020 10:04:34

325 Views

FileInfo type has a Length property that determines how many bytes a file has.Firstly, set the file −FileInfo file = new FileInfo("D:ew");Now use the Length property −file.LengthHere is the complete code −Exampleusing System; using System.Linq; using System.IO; class Program {    static void Main() {       FileInfo file ... Read More

Usage of CSS @charset rule

Ankith Reddy

Ankith Reddy

Updated on 16-Mar-2020 07:57:31

142 Views

If you are writing your document using a character set other than ASCII or ISO-8859-1 you might want to set the @charset rule at the top of your stylesheet to indicate what character set the style sheet is written in.The @charset rule must be written right at the beginning of ... Read More

Create an attenuated shadow with CSS

Ankith Reddy

Ankith Reddy

Updated on 16-Mar-2020 07:31:18

96 Views

Shadow filter is used to create an attenuated shadow in the direction and color specified.The following parameters can be used in this filter −S.NoParameter & Description1ColorThe color that you want the shadow to be.2DirectionThe direction of the blur, going clockwise, rounded to 45-degree increments. The default value is 270 (left).0 ... Read More

Role of size property in CSS to set the size and orientation of a page box

Ankith Reddy

Ankith Reddy

Updated on 16-Mar-2020 07:19:41

98 Views

The size property specifies the size and orientation of a page box. There are four values which can be used for page size auto - The page box will be set to the size and orientation of the target sheet.landscape − Overrides the target's orientation. The page box is the same ... Read More

Set Mask Effect with CSS

Ankith Reddy

Ankith Reddy

Updated on 13-Mar-2020 13:22:19

237 Views

Use the mask effect to turn transparent pixels to a specified color and makes opaque pixels transparent. The following parameter is used in this filterSr.NoParameter & Description          1ColorThe color that the transparent areas will become.ExampleYou can try to run the following code to implement mask effect ... Read More

Make any particular color transparent with CSS Filters

Ankith Reddy

Ankith Reddy

Updated on 13-Mar-2020 13:14:21

843 Views

To make any particular color transparent, use Chroma Filter. You can use it with scrollbars also.The following parameter can be used in this filterParameterDescriptionColorThe color that you'd like to be transparent.Implementing the CSS Chroma Filter −Live Demo                         Text Example:       CSS Tutorials    

Advertisements