George John has Published 1168 Articles

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

3K+ 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

404 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

193 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

How to log in as a different user on MySQL?

George John

George John

Updated on 30-Jun-2020 13:10:49

15K+ Views

If you want to login as a different user on MySQL, you need to use “mysql -u -p command”. The syntax is as follows to login as a different user.>mysql -u yourUsername -p After pressing enter key Enter password −To understand the above syntax, let us create a user in ... Read More

Fetch rows where first character is not alphanumeric in MySQL?

George John

George John

Updated on 30-Jun-2020 12:42:48

494 Views

To fetch rows where first character is not alphanumeric, you can use the following regular expression.Case 1 − If you want those rows that starts from a digit, you can use the following syntax −SELECT *FROM yourTableName WHERE yourColumnName REGEXP '^[0-9]';Case 2 − If you want those rows that start ... Read More

Role of CSS :nth-child(n) Selector

George John

George John

Updated on 30-Jun-2020 11:18:06

146 Views

Use the CSS :nth-child(n) selector to style every element that is the second child of its parent with CSS. You can try to run the following code to implement the :nth-child(n) selectorExampleLive Demo                    p:nth-child(4) {       ... Read More

Style every element that is the nth element of its parent with CSS

George John

George John

Updated on 30-Jun-2020 11:15:07

110 Views

Use the CSS :nth-of-type(n) selector to style every element that is the nth element of its parent. You can try to run the following code to implement the :nth-of-type(n) selectorExampleLive Demo                    p:nth-of-type(2) {         ... Read More

Bipolar Junction Transistor

George John

George John

Updated on 30-Jun-2020 10:57:50

15K+ Views

A Bipolar Junction Transistor (BJT) is a three terminal circuit or device that amplifies flow of current. It is solid state device that flows current in two terminals, i.e., collector and emitter and controlled by third device known as terminal or base terminal. Unlike a normal p-n junction diode, this ... Read More

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