
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Arjun Thakur has Published 1025 Articles
Selects all elements that are placed immediately after elements with CSS
Arjun Thakur
Updated on 24-Jun-2020 06:26:54
335 Views
Use the element+element selector to select elements placed after first specified element. You can try to run the following code to implement this,ExampleLive Demo
div + p {
color: white;
background-color: blue;
}
Demo Website
Fruits
This is demo text.
Fruits are good for health.
Fruits makes you healthy.

Arjun Thakur
335 Views
Use the element+element selector to select elements placed after first specified element. You can try to run the following code to implement this,ExampleLive Demo div + p { color: white; background-color: blue; } Demo Website Fruits This is demo text. Fruits are good for health. Fruits makes you healthy.

Arjun Thakur
486 Views
Undefined behavior is a way to give freedom to implementors (e.g. of compilers or of OSes) and to computers to do whatever they "want", in other words, to not care about consequences.The cases in which segmentation fault occurs are transient in nature. They won't always result in a segmentation fault ... Read More

Arjun Thakur
155 Views
Use the [attribute|=”value”] selector to select elements with the specified attribute starting with a specified value.You can try to run the following code to implement CSS [attribute|=”value”] Selector,ExampleLive Demo [alt|=Tutor] { border: 5px solid orange; border-radius: 5px; }

Arjun Thakur
95 Views
Use the transition-duration property to set the duration of transitionExampleLive Demo div { width: 150px; height: 150px; background: blue; transition-property: height; transition-duration: 2s; } div:hover { height: 200px; } Heading One Hover over the below box to change its height.

Arjun Thakur
242 Views
To create a circle with radial gradient, you can try to run the following code. Set another parameter in radial gradient for shapes like circleExampleLive Demo #demo { height: 400px; background: radial-gradient(circle, red , blue, yellow); } Radial Gradient Radial Gradients

Arjun Thakur
220 Views
Use the [attribute|=”value”] selector to select elements with the specified attribute starting with a specified value.You can try to run the following code to implement CSS [attribute|=”value”] Selector,ExampleLive Demo [lang| = en] { border: 5px solid orange; border-radius: 5px; } Hello Hei

Arjun Thakur
7K+ Views
To add background color to the form input, use the background-color property.You can try to run the following code to implement the background color property to formExampleLive Demo input[type=text] { width: 100%; padding: 10px 15px; margin: 5px 0; box-sizing: border-box; background-color: gray; } Fill the below form, Subject Student

Arjun Thakur
416 Views
The java.util.LinkedList.listIterator(int index) method returns a list-iterator of the elements in this list (in proper sequence), starting at the specified position in the list.DeclarationFollowing is the declaration for java.util.LinkedList.listIterator() methodpublic ListIterator listIterator(int index)Parametersindex − index of the first element to be returned from the list-iteratorReturn ValueThis method returns a ListIterator ... Read More

Arjun Thakur
4K+ Views
A string is Palindrome if position of each character remain same in case even string is reversed.For example 'MADAM' is a palidrome string as position of each character remain same even if string 'MADAM' is reversed.Now in order to identify a string as palindrome or not we can use library ... Read More

Arjun Thakur
2K+ Views
final is a non-access modifier for Java elements. The final modifier is used for finalizing the implementations of classes, methods, and variables. A final instance variable can be explicitly initialized only once.A final instance variable should be initialized at one of the following occasions −At time of declaration.In constructor.In instance ... Read More