George John has Published 1081 Articles

Usage of CSS grid property

George John

George John

Updated on 04-Jul-2020 06:43:52

159 Views

Set the following properties with the grid property: grid-template-rows, grid-template-columns, grid-template-areas, grid-auto-rows, grid-auto-columns, and grid-auto-flow property.ExampleYou can try to run the following code to implement the CSS grid propertyLive Demo                    .container {             display: ... Read More

Define the height of each row in CSS Grid Container

George John

George John

Updated on 04-Jul-2020 06:35:02

149 Views

Use the grid-template-rows property to define the number of rows in CSS Grid Layout.ExampleYou can try to run the following code to set a number of rows.Live Demo                    .container {             display: grid;   ... Read More

Role of CSS flex-direction property row-reverse value

George John

George John

Updated on 04-Jul-2020 06:17:28

190 Views

Use the flex-direction property with row value to set the flex-items horizontally, from right to left.ExampleYou can try to run the following code to implement the row-reverse value −Live Demo                    .mycontainer {             display: flex; ... Read More

How to play ringtone/alarm/notification sound in Android?

George John

George John

Updated on 03-Jul-2020 08:02:25

3K+ Views

This example demonstrate about How to play ringtone/alarm/notification sound in Android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     Step 3 − ... Read More

Role of CSS justify-content property flex-start value

George John

George John

Updated on 03-Jul-2020 07:52:50

219 Views

Use the justify-content property with value flex-start to align the flex-items at the beginning.ExampleYou can try to run the following code to implement the flex-start value −Live Demo                    .mycontainer {             display: flex;       ... Read More

Usage of transform-origin property with CSS

George John

George John

Updated on 02-Jul-2020 08:04:18

116 Views

Use the transform-origin property to change the position on transformed elements with CSS.ExampleYou can try to run the following code to learn how to work with transform-origin property with CSSLive Demo                    .demo1 {             ... Read More

Create a Horizontal Navigation Bar with CSS

George John

George John

Updated on 01-Jul-2020 11:02:38

4K+ Views

To create a horizontal navigation bar, set the elements as inline.ExampleYou can try to run the following code to create horizontal navigation barLive Demo                    ul {             list-style-type: none;             margin: 0;             padding: 0;          }          .active {             background-color: #4CAF50;             color: white;          }          li {             border-bottom: 1px solid #555;             display: inline;          }                              Home          Company          Product          Services          Contact          

Style all visited links with CSS

George John

George John

Updated on 01-Jul-2020 10:50:13

509 Views

To style all visited links, use the CSS :visited selector.ExampleYou can try to run the following code to implement the :visited selectorLive Demo                    a:link, a:visited {             background-color: white;           ... Read More

Style elements with a "readonly" attribute with CSS

George John

George John

Updated on 01-Jul-2020 09:15:24

2K+ Views

To select elements that are read-only, use the CSS :read-only selector.ExampleYou can try to run the following code to implement the :read-only selectorLive Demo                    input:read-only {             background-color: blue;             color: white;          }                              Subject:          Student:          

Advantage of multiple chip select lines

George John

George John

Updated on 30-Jun-2020 14:53:07

280 Views

Let’s consider that the EPROMs we have are having the starting addresses as 4000H, 4400H, …, 5C00H. 4000H in binary is 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0. In such a case, the 74138 has to be selected for the condition ... Read More

Previous 1 ... 3 4 5 6 7 ... 109 Next
Advertisements