Ankith Reddy has Published 1132 Articles

X-axis 3D transform with CSS3

Ankith Reddy

Ankith Reddy

Updated on 30-Jun-2020 11:19:17

112 Views

You can try to run the following code to implement X-axis 3D transform with CSS3ExampleLive Demo                    div {             width: 200px;             height: 100px;             background-color: pink;             border: 1px solid black;          }            div#myDiv {             -webkit-transform: rotateX(150deg);             /* Safari */ transform: rotateX(150deg);             /* Standard syntax */          }                              tutorials point.com                      Rotate X-axis                             tutorials point.com.                

Style links on mouse over with CSS

Ankith Reddy

Ankith Reddy

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

192 Views

To style links on mouse over with CSS, use the CSS: hover selector. You can try to run the following code to implement the: hover, selector,ExampleLive Demo                    a:hover {             background-color: orange;          }                     Google       Keep the mouse cursor on the above link and see the effect.    

1's Complement vs 2's Complement

Ankith Reddy

Ankith Reddy

Updated on 30-Jun-2020 11:05:57

30K+ Views

Complements are used in digital computers in order to simply the subtraction operation and for the logical manipulations. For the Binary number (base-2) system, there are two types of complements: 1’s complement and 2’s complement.1’s Complement of a Binary NumberThere is a simple algorithm to convert a binary number into ... Read More

Light Emitting Diodes (LEDs)

Ankith Reddy

Ankith Reddy

Updated on 30-Jun-2020 10:56:34

2K+ Views

Light can be obtained from various sources like candles, lamp and sunrays etc. Light bulb had invented by Thomas Edison in 1879. An electric current is passed through a filament inside bulb, it gets heated up and emits light when sufficient current is passed through the filament. That means it converts ... Read More

Style every element that has no children with CSS

Ankith Reddy

Ankith Reddy

Updated on 30-Jun-2020 09:50:29

661 Views

To style every element that has no children with CSS, use the: empty selector t. You can try to run the following code to implement the: empty selectorExampleLive Demo                    p.demo {             width: ... Read More

Style the active link with CSS

Ankith Reddy

Ankith Reddy

Updated on 30-Jun-2020 09:43:02

673 Views

To style the active links, use the CSS :active selector. You can try to run the following code to style the active linksExampleLive Demo                    a:active {             background-color: green;          }                     Welcome to Qries       Click on the above link to see the effect.    

Access to Python’s configuration information

Ankith Reddy

Ankith Reddy

Updated on 30-Jun-2020 09:27:46

382 Views

Configuration information of Python's installation can be accessed by the sysconfig module. For example the list of installation paths and the configuration variables specific to the installation platform.The sysconfig module provides the following functions to access Configuration variablessysconfig.get_config_vars()With no arguments, this function returns a dictionary of all configuration variables relevant ... Read More

Count values from comma-separated field in MySQL?

Ankith Reddy

Ankith Reddy

Updated on 30-Jun-2020 07:51:30

3K+ Views

You can count values from comma-separated field using CHAR_LENGTH() method from MySQL. The syntax is as follows −SELECT *, (CHAR_LENGTH(yourColumnName) - CHAR_LENGTH(REPLACE(yourColumnName, ', ', '')) + 1) as anyVariableName from yourTableName;To understand the above syntax, let us create a table. The query to create a table is as follows −mysql> ... Read More

Style the element that has focused on CSS

Ankith Reddy

Ankith Reddy

Updated on 30-Jun-2020 07:45:24

61 Views

To select the element that has focus, use the: focus selector. You can try to run the following code to implement the: focus selector −Example                    input:focus {             background-color: green;          }                              Subject          Student:          Age:

MySQL Query to remove all characters after last comma in string?

Ankith Reddy

Ankith Reddy

Updated on 30-Jun-2020 07:40:45

3K+ Views

To remove all characters after the last comma in the string, you can use SUBSTRING_INDEX().If you do not know the location of the last comma, then you need to find the last comma dynamically using LENGTH().The syntax is as follows −UPDATE yourTableName set yourColumnName = SUBSTRING_INDEX(yourColumnName, ', ', LENGTH(yourColumnName) - ... Read More

Advertisements