CSS3 Multi-Column rule-color Property

vanithasree
Updated on 21-Jun-2020 06:26:24

142 Views

The multi-column rule-color property is used to specify the column rule color. You can try to run the following code to implement a rule-color property in CSS3 −ExampleLive Demo                    .multi {             /* Column count property */             -webkit-column-count: 4;             -moz-column-count: 4;             column-count: 4;                         /* Column gap property */             -webkit-column-gap: ... Read More

CSS3 Multi-Column column-gap Property

George John
Updated on 21-Jun-2020 06:23:17

174 Views

The multi-column column-gap property is used to decide the gap between the columns.ExampleYou can try to run the following code to implement column-gap propertyLive Demo                    .multi {             /* Column count property */             -webkit-column-count: 4;             -moz-column-count: 4;             column-count: 4;                         /* Column gap property */             -webkit-column-gap: 40px;       ... Read More

CSS3 Multi-Column column-rule Property

Giri Raju
Updated on 21-Jun-2020 05:35:34

57 Views

The multi-column column-rule property is used to specify the number of rules.You can try to run the following code to implement the column-rule property in CSS3 −ExampleLive Demo                    .multi {             /* Column count property */             -webkit-column-count: 4;             -moz-column-count: 4;             column-count: 4;                         /* Column gap property */             -webkit-column-gap: 40px; ... Read More

Key Frames with Left Animation using CSS3

mkotla
Updated on 21-Jun-2020 05:26:43

160 Views

The following example shows height, width, color, name, and duration of animation with keyframes syntax −ExampleLive Demo                    h1 {             -moz-animation-duration: 3s;             -webkit-animation-duration: 3s;             -moz-animation-name: slidein;             -webkit-animation-name: slidein;          }          @-moz-keyframes slidein {             from {                margin-left:100%; width:300%             }             to {                margin-left:0%; width:100%;             }          }          @-webkit-keyframes slidein {             from {                margin-left:100%; width:300%             }             to {                margin-left:0%; width:100%;             }           }                     Tutorials Point       this is an example of moving left animation .       Reload page       function myFunction() { location.reload(); }    

Rotate Element Based on an Angle using CSS

George John
Updated on 21-Jun-2020 05:14:45

286 Views

Let us learn how to rotate the element based on an angleExampleLive Demo                    div {             width: 300px;             height: 100px;             background-color: pink;             border: 1px solid black;          }          div#myDiv {             /* IE 9 */             -ms-transform: rotate(20deg);                         /* Safari */             -webkit-transform: rotate(20deg);                         /* Standard syntax */             transform: rotate(20deg);          }                              Tutorials point.com.                      Tutorials point.com           Output

Change the Height of Element Using CSS

varma
Updated on 21-Jun-2020 05:05:59

158 Views

Use the scaleY() method to change the height of the element with CSS.Let us see the syntax −scaleY(n);Here, n is a number representing the scaling factor.Let us see an example −div {    width: 40px;    height: 50px;    background-color: black; } .myScaled {    transform: scaleY(0.9);    background-color: orange; }

What is a Base Class in C#

karthikeya Boyini
Updated on 20-Jun-2020 17:35:47

2K+ Views

When creating a class, instead of writing completely new data members and member functions, the programmer can designate that the new class should inherit the members of an existing class. This existing class is called the base class, and the new class is referred to as the derived class.A class can be derived from more than one class or interface, which means that it can inherit data and functions from multiple base classes or interfaces.The following is the syntax of base class in C# − class {    ... } class : {    ... }Let ... Read More

Best IDE for C# on Windows

George John
Updated on 20-Jun-2020 17:34:48

382 Views

The best IDE for C# on Windows is Microsoft Visual Studio. It is an IDE to develop websites, web apps, mobile apps, etc.The following are the features of Visual Studio IDE−Code Editor − Visual Studio has a code editor supporting syntax highlighting and code completion using IntelliSense.Breakpoints − Set breakpoints and allow monitoring the variable values as the execution progress.Extend Capability − With Visual Studio, you can extend the functionality of the IDE. The extension includes macros, packages, etc.Built-in-languages − Visual Studio supports more than 30 programming languages, including C#, F#, JavaScript, TypeScript, etc.

What is a Dictionary in C#

Samual Sam
Updated on 20-Jun-2020 17:34:34

3K+ Views

Dictionary is a collection of keys and values in C#. Dictionary is included in the System.Collection.Generics namespace.To declare and initialize a Dictionary −IDictionary d = new Dictionary();Above, types of key and value are set while declaring a dictionary object. An int is a type of key and string is a type of value. Both will get stored in a dictionary object named d.Let us now see an example −Exampleusing System; using System.Collections.Generic; public class Demo {    public static void Main() {       IDictionary d = new Dictionary();       d.Add(1, 97);       d.Add(2, ... Read More

What is a Generic List in C#

Ankith Reddy
Updated on 20-Jun-2020 17:33:53

3K+ Views

Generic List is a generic collection in C#. The size can be dynamically increased using List, unlike Arrays.Let us see an example −We have set the List first −List myList = new List()Now add elements in the list −List myList = new List() {    "mammals",    "reptiles",    "amphibians" }Now using a property let us count the number of elements added −Exampleusing System; using System.Collections.Generic; class Program {    static void Main() {       List myList = new List() {          "mammals",          "reptiles",          "amphibians"       };       Console.WriteLine(myList.Count);    } }

Advertisements