DekGenius.com
CSS
css
CSS is a code format which used for desining html
elements and more in html CSS looking like that
in the head element you need to start a style elment and create a new CSS design
like so
#designname {
}
and from there its all about properties to make the
design yours
then to apply the design on object you need to use the id
format like so:
<button id="designname">button content</button>
css
Cascading Style Sheets is a style sheet language used for describing the presentation of a document written in a markup language such as HTML. CSS is a cornerstone technology of the World Wide Web, alongside HTML and JavaScript
css
/* Answer to "css" */
/*
Cascading Style Sheets (CSS) is a style sheet language used for
describing the presentation of a document written in a
markup language like HTML.
In other words, it's the style of the website.
For example, the positioning of everything on a website or
the colour, shape, size of a button. Every design on a
website is most likely made using css.
*/
css
CSS implies Cascading Style Sheet. In a webpage, the HTML codes
gives the structure or the data or the information While CSS is used to make the
data designable , stylize , etc. to attract the traffic or the clients in a
website. There are many more programming languages used for the design.
The latest version of CSS is CSS3.
what is css
Cascading Style Sheets is a style sheet language used for describing
the presentation of a document written in a markup language such as HTML.
css
Css is a website styling language.
css
Cascading Style Sheets is a style sheet language used for describing the
presentation of a document written in a markup language like HTML.
CSS is a cornerstone technology of the World Wide Web, alongside HTML and
JavaScript.
css
/*body,h2,p,input are html tags */
/*.hello and #test are html class and id attributes*/
body {
background-color: blue;
}
h2 {
color: grey;
text-align: center;
}
p {
font-family: Sans-serif ;
font-size: 30px;
}
input{
width:50%;
}
.hello{
color:red;
}
#test{
color:blue;
}
what is css
HTML (the Hypertext Markup Language) and CSS (Cascading Style Sheets) are two of the core technologies for building Web pages. HTML provides the structure of the page, CSS the (visual and aural) layout, for a variety of devices.
what is css
CSS stands for Cascading Style Sheets
CSS describes how HTML elements are to be displayed on screen, paper, or in other media
CSS saves a lot of work. It can control the layout of multiple web pages all at once
External stylesheets are stored in CSS files
what is css
css
h2 {
font-size:48px;
color:dark blue;
text-transform:uppercase;
text-align:center;
font-weight:normal;
}
css
using UnityEngine;
using UnityEditor;
public class ExampleWindow : EditorWindow {
Color color;
[MenuItem("Window/Colorizer")]
public static void ShowWindow ()
{
GetWindow<ExampleWindow>("Colorizer");
}
void OnGUI ()
{
GUILayout.Label("Color the selected objects!", EditorStyles.boldLabel);
color = EditorGUILayout.ColorField("Color", color);
if (GUILayout.Button("COLORIZE!"))
{
Colorize();
}
}
void Colorize ()
{
foreach (GameObject obj in Selection.gameObjects)
{
Renderer renderer = obj.GetComponent<Renderer>();
if (renderer != null)
{
renderer.sharedMaterial.color = color;
}
}
}
}
css
/* CSS - Cascading Style Sheet
A style sheet language wrtting styling code for html page.
It can denote any html tag
*/
address {
/* styles goes here */
color: black;
border: 1px solid black;
}
/* styles by class name - starts with dot */
.sample-class-name{
box-shadow: 10px 10px 20px black;
}
/* styles by id - starts with # */
#sample-id{
color: blue;
font-weight: bolder;
}
/*
Learn CSS from https://www.w3schools.com/css/
Or click on source link for mdn reference
*/
css
<p>Texto do parágrafo com um <em>elemento EM</em> nele contido.</p>
CSS
/* Hello World in CSS */
body:before {
content: "Hello World";
}
css
h2 {
font-size:48px;
color:dark blue;
text-transform:uppercase;
text-align:center;
font-weight:normal;
}
css
h2 {
font-size:48px;
color:dark blue;
text-transform:uppercase;
text-align:center;
font-weight:normal;
}
css
h2 {
font-size:48px;
color:dark blue;
text-transform:uppercase;
text-align:center;
font-weight:normal;
}
css
h2 {
font-size:48px;
color:dark blue;
text-transform:uppercase;
text-align:center;
font-weight:normal;
}
css
h2 {
font-size:48px;
color:dark blue;
text-transform:uppercase;
text-align:center;
font-weight:normal;
}
css
h2 {
font-size:48px;
color:dark blue;
text-transform:uppercase;
text-align:center;
font-weight:normal;
}
css
CSS:Cascading Style Sheets.
CSS is the language we use to style an HTML document
css
h2 {
font-size:48px;
color:dark blue;
text-transform:uppercase;
text-align:center;
font-weight:normal;
}
css
h2 {
font-size:48px;
color:dark blue;
text-transform:uppercase;
text-align:center;
font-weight:normal;
}
css
/* Any Element With Class Title */
.title {
}
/* for the Element With id nave*/
#nav {
}
/* Any Element With dive */
div {
}
/*Any Element With h2*/
h2 {
}
css
Cascading Style Sheets is a style sheet language used for describing the presentation of a document written in a markup language such as HTML or XML. CSS is a cornerstone technology of the World Wide Web, alongside HTML and JavaScript.
css
.container{
color: red;
}
css
view source
001
.main-wrapper img {
002
width:100%;
003
display:block;
004
}
005
006
.main-wrapper a {
007
color:#000;
008
text-decoration:none;
009
}
010
011
.main-wrapper ul li {
012
list-style-type:none;
013
}
014
015
.navbar {
016
background:#fff;
017
padding:0 1rem;
018
position:fixed;
019
top:0;
020
left:0;
021
width:100%;
022
max-height:100vh;
023
display: flex;
024
flex-direction: column;
025
z-index:10;
026
}
027
028
.brand-and-icon {
029
display: flex;
030
justify-content: space-between;
031
padding:1rem0;
032
border-bottom:1px solid #ddd;
033
}
034
035
.navbar-brand {
036
font-size:1.8rem;
037
letter-spacing:3px;
038
font-weight:700;
039
}
040
041
.navbar-toggler {
042
display:block;
043
border:none;
044
background:transparent;
045
font-size:1.8rem;
046
cursor:pointer;
047
padding:0.2rem0.5rem;
048
transition:all 0.4s ease;
049
border:2px solid #000;
050
border-radius:4px;
051
}
052
053
.navbar-toggler:hover {
054
opacity:0.7;
055
}
056
057
.navbar-collapse {
058
overflow-y:scroll;
059
display:none;
060
}
061
062
.navbar-nav>li>a {
063
text-transform:uppercase;
064
font-size:1.1rem;
065
font-weight:700;
066
display:block;
067
padding:0.6rem0;
068
margin:0.2rem0;
069
border-bottom:1px solid #ddd;
070
border-radius:1px;
071
position:relative;
072
transition:all 0.4s ease;
073
}
074
075
.drop-icon {
076
position:absolute;
077
right:10px;
078
top:50%;
079
transform: translateY(-50%);
080
}
081
082
.navbar-nav>li>a:hover {
083
opacity:0.7;
084
}
085
086
.sub-menu h4 {
087
text-transform:capitalize;
088
font-size:1rem;
089
padding:0.5rem0;
090
}
091
092
.sub-menu ul li {
093
text-transform:capitalize;
094
padding:0.2rem0;
095
margin:0.2rem0;
096
font-size:0.95rem;
097
}
098
099
.sub-menu ul li a {
100
opacity:0.8;
101
transition:all 0.5s ease;
102
}
103
104
.sub-menu ul li a:hover {
105
padding-left:14px;
106
opacity:0.9;
107
}
108
109
.sub-menu {
110
display:none;
111
}
112
113
.sub-menu-item {
114
padding-left:1.2rem;
115
}
116
117
.sub-menu-item:nth-child(3) {
118
background:#ddd;
119
display: flex;
120
flex-direction: column;
121
justify-content:center;
122
align-items: flex-start;
123
padding-top:2rem;
124
padding-bottom:2rem;
125
}
126
127
.sub-menu-item:nth-child(3) h2 {
128
text-transform:capitalize;
129
margin:1.5rem0;
130
}
131
132
.sub-menu-item:nth-child(3) .btn {
133
border:1px solid #000;
134
text-transform:uppercase;
135
font-size:0.9rem;
136
padding:0.6rem1rem;
137
cursor:pointer;
138
background:#000;
139
color:#fff;
140
transition:all 0.5s ease;
141
}
142
143
.sub-menu-item:nth-child(3) .btn:hover {
144
background:transparent;
145
color:#000;
146
}
147
148
.sub-menu-item:nth-child(4) {
149
width:50%;
150
margin:0 auto;
151
padding:2rem0;
152
}
css
Cascading Style Sheets is a style sheet language used for describing the presentation of a document written in a markup language such as HTML or XML. CSS is a cornerstone technology of the World Wide Web, alongside HTML and JavaScript.
css
/*
Theme Name: Mon thème
Theme URI: https://www.monsite.com/monsite
Author: [renseignez ici votre nom]
Author URI: https://www.monsite.com/monsite
Description: [décrivez ici votre thème en quelques mots]
Version: 1.0
*/
css
div{
width:300px;
height:200px;
padding:15px;
border: 5px solid grey;
margin:30px;
-moz-box-sizing:content-box;
-webkit-box-sizing:content-box;
box-sizing:content-box;
}
css
<head>
<link rel="stylesheet" href="style.css" />
</head>
css
$('[data-toggle="popover"]').popover({ trigger: "manual" , html: true, animation:false})
.on("mouseenter", function () {
var _this = this;
$(this).popover("show");
$(".popover").on("mouseleave", function () {
$(_this).popover('hide');
});
}).on("mouseleave", function () {
var _this = this;
setTimeout(function () {
if (!$(".popover:hover").length) {
$(_this).popover("hide");
}
}, 300);
});
css
view source
01
@mediascreen and (min-width:992px) {
02
.navbar {
03
flex-direction: row;
04
flex-wrap: wrap;
05
align-items:center;
06
border-bottom:1px solid #ddd;
07
padding:0 5rem;
08
position:relative;
09
}
10
.navbar-toggler {
11
display:none;
12
}
13
.brand-and-icon {
14
flex:0 0 100px;
15
border-bottom:none;
16
padding:0;
17
}
18
.navbar-collapse {
19
display:block!important;
20
overflow-y:hidden;
21
flex:1 0 auto;
22
}
23
.navbar-nav {
24
display: flex;
25
align-items:center;
26
justify-content:center;
27
}
28
.navbar-nav>li>a {
29
border-bottom:none;
30
margin:0 0.4rem;
31
padding:1.7rem1.8rem1.7rem0.8rem;
32
font-size:0.8rem;
33
}
34
.sub-menu {
35
position:absolute;
36
left:0;
37
width:100%;
38
top:100%;
39
background:#f8f8f8;
40
}
41
.navbar-nav>li:hover .sub-menu {
42
display: <a href="https://www.jqueryscript.net/tags.php?/grid/">grid</a>!important;
43
grid-template-columns:repeat(4,1fr);
44
padding:0 5rem;
45
}
46
.navbar-nav>li {
47
border-bottom:2px solid transparent;
48
transition: border-bottom 0.4s ease;
49
}
50
.navbar-nav>li:hover {
51
border-bottom-color:#000;
52
}
53
.sub-menu-item {
54
padding-left:0;
55
}
56
.sub-menu-item:nth-child(3) {
57
padding-left:2rem;
58
padding-right:2rem;
59
}
60
}
css
@import url('https://fonts.googleapis.com/css?family=Poppins:200i,400&display=swap');
:root {
--color-white: #f3f3f3;
--color-darkblue: #1b1b32;
--color-darkblue-alpha: rgba(27, 27, 50, 0.8);
--color-green: #37af65;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
body {
font-family: 'Poppins', sans-serif;
font-size: 1rem;
font-weight: 400;
line-height: 1.4;
color: var(--color-white);
margin: 0;
}
/* mobile friendly alternative to using background-attachment: fixed */
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 100%;
z-index: -1;
background: var(--color-darkblue);
background-image: linear-gradient(
115deg,
rgba(58, 58, 158, 0.8),
rgba(136, 136, 206, 0.7)
),
url(https://cdn.freecodecamp.org/testable-projects-fcc/images/survey-form-background.jpeg);
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
h1 {
font-weight: 400;
line-height: 1.2;
}
p {
font-size: 1.125rem;
}
h1,
p {
margin-top: 0;
margin-bottom: 0.5rem;
}
label {
display: flex;
align-items: center;
font-size: 1.125rem;
margin-bottom: 0.5rem;
}
input,
button,
select,
textarea {
margin: 0;
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
button {
border: none;
}
.container {
width: 100%;
margin: 3.125rem auto 0 auto;
}
@media (min-width: 576px) {
.container {
max-width: 540px;
}
}
@media (min-width: 768px) {
.container {
max-width: 720px;
}
}
.header {
padding: 0 0.625rem;
margin-bottom: 1.875rem;
}
.description {
font-style: italic;
font-weight: 200;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}
.clue {
margin-left: 0.25rem;
font-size: 0.9rem;
color: #e4e4e4;
}
.text-center {
text-align: center;
}
/* form */
form {
background: var(--color-darkblue-alpha);
padding: 2.5rem 0.625rem;
border-radius: 0.25rem;
}
@media (min-width: 480px) {
form {
padding: 2.5rem;
}
}
.form-group {
margin: 0 auto 1.25rem auto;
padding: 0.25rem;
}
.form-control {
display: block;
width: 100%;
height: 2.375rem;
padding: 0.375rem 0.75rem;
color: #495057;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #ced4da;
border-radius: 0.25rem;
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-control:focus {
border-color: #80bdff;
outline: 0;
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.input-radio,
.input-checkbox {
display: inline-block;
margin-right: 0.625rem;
min-height: 1.25rem;
min-width: 1.25rem;
}
.input-textarea {
min-height: 120px;
width: 100%;
padding: 0.625rem;
resize: vertical;
}
.submit-button {
display: block;
width: 100%;
padding: 0.75rem;
background: var(--color-green);
color: inherit;
border-radius: 2px;
cursor: pointer;
}
css
div {
margin: auto;
background-color: #eee;
padding: 32px;
width: 400px;
position: relative;
}
div::first-letter {
position: absolute;
background-color: red;
color: white;
}
css
<link href="style.css" rel="stylesheet">
css
<ul class="continentes">
<li id="america"><a href="#america" >América</a</li>
<li id="europa"><a href="#europa" >Europa</a</li>
<li id="asia"><a href="#asia" >Ásia</a></li>
<li id="africa"><a href="#africa" >África</a></li>
<li id="oceania"><a href="#oceania" >Oceania</a></li>
</ul>
css
.continentes li{
list-style:none;
position:absolute; }
#africa{
width:120px;
height:140px;
left:208px;
bottom:40px;}
#america{
width:226px;
height:258px;}
#asia{
width:214px;
height:164px;
right:40px;}
#europa{
width:121px;
height:75px;
left:211px;
top:6px;}
#oceania{
width:103px;
height:89px;
right:0;
bottom:17px;}
css
CSS
Programming language
Cascading Style Sheets is a style sheet language
used for describing the presentation of a document
written in a markup language such as HTML. CSS
is a cornerstone technology of the World Wide Web,
alongside HTML and JavaScript. Wikipedia
css
@import url('https://fonts.googleapis.com/css2?family=Mochiy+Pop+P+One&family=Montserrat:wght@100;200;400;500;600;700;800;900&family=Poppins:wght@100;300;400;500;600;700;800;900&display=swap');
*{
padding: 0;
margin: 0;
font-family: 'poppins';
}
nav{
display: flex;
background-color: #ffff;
}
nav .logo{
margin: 20px;
margin-left: 10%;
}
nav .logo img{
width: 140px;
}
nav .menu{
display: flex;
float: right;
margin-left: 35%;
margin-top: 7px;
}
nav .menu a{
text-decoration: none;
}
nav .menu a li{
list-style: none;
margin: 20px;
}
nav .menu a li p{
color: #d31145;
font-weight: 800;
}
.jersey .red-bull .font img{
width: 400px;
}
.jersey .red-bull .section-1{
display: inline;
}
.jersey .red-bull .section-1 .p1{
display: inline;
}
.jersey .red-bull{
background: #d4a111;
display: flex;
align-items: center;
justify-content: center;
}
.jersey .red-bull .text{
margin-top: 15%;
}
.jersey .red-bull .text p{
width: 500px;
}
.one-line{
display: flex;
}
.bj{
color: #d31145;
}
.jersey .red-bull .btns{
display: flex;
margin-top: 10px;
}
.jersey .red-bull .btns button{
padding: 10px;
margin: 5px;
border: 2px solid black;
background: #d4a111;
border-radius: 100px;
cursor: pointer;
}
.jersey .red-bull .btns button:hover{
background: #d31145;
border: 2px solid #d31145;
color: #d4a111;
}
.jersey .line-of-border{
height: 30px;
background: #d31145;
}
.jersey .line-of-border-2{
height: 30px;
background: #2a2d3e;
}
.jersey .reldos-night-x{
font-family: 'Poppins';
background-color: #3b4067;
height: 100vh;
}
.jersey .reldos-night-x .section-1{
display: flex;
align-items: center;
justify-content: center;
}
.jersey .reldos-night-x .section-1 .img img{
width: 400px;
}
.jersey .red-bull .btns{
display: flex;
margin-top: 10px;
}
.jersey .reldos-night-x .btns button{
padding: 10px;
margin: 5px;
border: 2px solid white;
background: #3b4067;
border-radius: 100px;
cursor: pointer;
color: white;
}
.jersey .reldos-night-x .btns button:hover{
background: #2a2d3e;
border: 2px solid #2a2d3e;
color: #3b4067;
}
.jersey .reldos-night-x .text {
color: white;
letter-spacing: 1px;
width: 500px;
}
css
<p><a href="mailto:votrenom@bidule.com">Envoyez-moi un e-mail !</a></p>
CSS
var today=new Date();const version="0.2."+today.getDate()+"."+(today.getMonth()+1)+"."+today.getFullYear();const cacheName=`secreport-${version}`;self.addEventListener('install',e=>{e.waitUntil(caches.open(cacheName).then(cache=>{return cache.addAll([`/`,`/css/bootstrap_style.css`,`/sec-logo.png`,`/rss.png`,`/CIK/`]).then(()=>self.skipWaiting());}));});self.addEventListener('activate',event=>{event.waitUntil(self.clients.claim());});
css
<!-- source/main.css -->
<link rel="stylesheet" href="{ source/main.css }" />
css
css
css
css
.center {
margin: 70px auto;
background: lime;
width: 66%;
}
.outside {
margin: 3rem 0 0 -3rem;
background: cyan;
width: 66%;
}
css
<p>The Caterpillar and Alice looked at each other for some time in silence:
at last the Caterpillar took the hookah out of its mouth, and addressed
her in a languid, sleepy voice.</p>
css
CSS stands for Cascading Style Sheets!
Programmers mainly use to to add style to their webpage.
HTML Link code (Put it in the head):
<link rel="stylesheet" type="text/css" href="style.css">
css
<div class="progress">
<div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 75%"></div>
</div>
css
/*Cascading Style sheets:
Cascading sytle sheets is a programming language that, in simple,
gives a touch up to websites (usually made of HTML)
and decides how the components of a website will work.
*/
css
Full form : Cascading Style Sheets
/* Connect with HTML */
<link rel="stylesheet" type="text/css" href="theme.css">
/* Change property in JS */
element.style.propertyInCamelCase
css
<div class="zoom-effect-container">
<div class="image-card">
<img src="https://superdevresources.com/wp-content/uploads/2014/12/lions.jpg"/>
</div>
</div>
<div class="zoom-effect-container">
<div class="image-card">
<img src="https://superdevresources.com/images/pixabay/peacock.jpg"/>
</div>
</div>
css
Cascading Style Sheets is a style sheet language used for describing the presentation of a document written in a markup language such as HTML. CSS is a cornerstone technology of the World Wide Web, alongside HTML and JavaScript.
css
body {
background-color: lightblue;
}
css
/* Cascading Style Sheet */
css
CSS (Cascading Style Sheets) is a programming language, mostly used with HTML and Javascript
css
<style>
/* Cascading Style Sheet !
To beautify your html web page :)
Exemple : */
body {
background: red;
}
</style>
css
The greatest language ever, the creativity while using it is unlimited
css
css
.content-navigation {
border-color: #3bbfce;
color: #2b9eab;
}
.border {
padding: 8px;
margin: 8px;
border-color: #3bbfce;
}
css
CSS is a cascading style sheets. It is used to style your website.
css
*{
margin: 0;
padding: 0;
}
body{
background-color: white;
}
css
Full form of CSS is Cascading Style Sheets.
CSS is used for designing website.
Website looks beautiful using CSS.
You got nice user review by using CSS.
css
/* good */
.USERNAME {
}
/* good */
.UserName {
}
/*bad */
.user-name {
}
/* good */
.userName {
}
/* good */
.usernameprofile {
}
css
/* not valid */
._user-name {
}
/* not valid*/
.-user-name {
}
/* not valid */
.-user-name {
}
/* valid */
.1user-name {
}
/* not valid */
.@user-name {
}
/* valid */
.user@name {
}
/* valid */
._user10name {
}
/* valid */
.u {
}
css
<!-- asset/master.css -->
<link rel="stylesheet" href="{ asset/master.css }" />
css
<!-- external style -->
<link rel="stylesheet" href="css/file.css" />
<!--internal style -->
<style>
p {
color: red;
}
</style>
<!--inline style -->
<p style="color: blue;">This Is Our Paragraph</p>
css
/* Any Element With Class Title */
.title {
}
/* any elment with id nav */
#nav {
}
/* all div elments */
div {
}
/* all h2 elments */
h2 {
}
css
css
.page-id-4 #main {
background-image: url(http://www.jeroenvanderwaal.com/wp-content/uploads/2015/03/achtergrond2.jpg);
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
padding-top: 60px;
padding-bottom: 0px;
}
Css
css
Coding language witch is usefull for designing websites, you can also use it for some small animations sometimes.
css
<!-- CSS stands for Cascading Style Sheets -->
css
how to do a botton in html
css
Cascading Style Sheets
It is used to add style to a web page.
CSS is the language we use to style an HTML document.
CSS describes how HTML elements should be displayed.
css
use <style> for css in html
css
Use CSS to style websites.
© 2022 Copyright:
DekGenius.com