Karthikeya Boyini has Published 2193 Articles

Usage of text-shadow property in CSS

karthikeya Boyini

karthikeya Boyini

Updated on 31-Jan-2020 06:23:35

78 Views

The text-shadow property is used to set the text shadow around a text. You can try to run the following code to set the text-shadow property:Example                            If your browser supports the CSS text-shadow property, this text will have a red shadow.          

Usage of word-spacing property in CSS

karthikeya Boyini

karthikeya Boyini

Updated on 31-Jan-2020 06:04:23

57 Views

The word-spacing property is used to add or subtract space between the words of a sentence. Possible values are normal or a number specifying space. ExampleYou can try to run the following code to implement word-spacing property:                             This text is having space between words.          

Set the direction of a text with CSS

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jan-2020 10:37:20

141 Views

The direction property is used to set the text direction. Possible values are ltr or rtl.ExampleYou can try to run the following code to set the text direction with CSS:                            This text will be renedered from right to left          

Usage of background-image property in CSS

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jan-2020 08:55:46

146 Views

The background-image property is used to set the background image of an element.ExampleYou can try to run the following code to learn how to work with the background-image property:                    body {             background-image: url("/latest/inter-process-communication.png");             background-color: #cccccc;          }                      Hello World!          

Set the background color of an element with CSS

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jan-2020 08:51:24

383 Views

To set the background color of an element, use the background-color property.ExampleYou can try to run the following code to learn how to work with the background-color property:                              This text has a blue background color.          

How to use style attribute to define style rules?

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jan-2020 08:23:24

336 Views

You can use style attribute of any HTML element to define style rules. These rules will be applied to that element only. Here is the generic syntax:The following is an example:                   This is inline CSS    

Usage of text-transform property in CSS

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jan-2020 07:59:06

129 Views

The text-transform property is used to capitalize text or convert text to uppercase or lowercase letters.ExamplePossible values are none, capitalize, uppercase, lowercase.                            This will be capitalized                      This will be in uppercase                      This will be in lowercase          

Class Selectors in CSS

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jan-2020 07:53:47

610 Views

You can define style rules based on the class attribute of the elements. All the elements having that class will be formatted according to the defined rule..black {    color: #808000; }This rule renders the content in black for every element with class attribute set to black in our document. ... Read More

Circle Collision Detection HTML5 Canvas

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jan-2020 06:14:28

543 Views

If we want to check whether circles are colliding with each other or not, one way is by getting the distance between two centers of circles and subtracting the radius of each circle from that distanceWe also check if the distance is greater than 1. If we want to check ... Read More

Why should we not use group functions with non-group fields without GROUP BY clause in MySQL SELECT query?

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jan-2020 05:50:13

240 Views

It is because without GROUP BY clause the output returned by MySQL can mislead. We are giving following example on the ‘Student’ table given below, to demonstrate it −mysql> Select * from Student; +------+---------+---------+-----------+ | Id   | Name    | Address | Subject   | +------+---------+---------+-----------+ | 1   ... Read More

Advertisements