Css?

Status
This thread has been locked.

SoldierAlex

Well-Known Member
Supreme
Feedback score
8
Posts
3,205
Reactions
1,319
Resources
0
So I have been trying to learn how to code websites and I just wanted to know how you code Css? I can code html fairly well but what I need help with is Css. Please write some tips and how you start a Css document and how you implement it into your html and things like that. Also if you'd like add me on skype: soldieralexgaming
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Skionz

ogminecraft.com
Premium
Feedback score
1
Posts
1,544
Reactions
1,527
Resources
0

Triggy

Deactivated
Feedback score
0
Posts
358
Reactions
160
Resources
0
CSS is great

To implement it into your HTML, you need to link it in your <head>

It looks something like this
HTML:
 <linkrel="stylesheet"type="text/css"href="style.css">

The style.css is what your css style sheet is called.

Moving onto CSS, most stylesheets use selectors of certain parts of the website. By creating <div> tags in the HTML you can group certain parts of your website together, and style them all at once. You use
Code:
<div class="">
or
Code:
<div id="">
and name it to your liking. Then in your CSS document, you select it by using

Code:
"yourclasshere" {
     color: orange;
}
 

SoldierAlex

Well-Known Member
Supreme
Feedback score
8
Posts
3,205
Reactions
1,319
Resources
0
CSS is great

To implement it into your HTML, you need to link it in your <head>

It looks something like this
HTML:
 <linkrel="stylesheet"type="text/css"href="style.css">

The style.css is what your css style sheet is called.

Moving onto CSS, most stylesheets use selectors of certain parts of the website. By creating <div> tags in the HTML you can group certain parts of your website together, and style them all at once. You use
Code:
<div class="">
or
Code:
<div id="">
and name it to your liking. Then in your CSS document, you select it by using

Code:
"yourclasshere" {
     color: orange;
}
Do I need to create a separate text file to implement Css?
 

SoldierAlex

Well-Known Member
Supreme
Feedback score
8
Posts
3,205
Reactions
1,319
Resources
0
*Facepalm*


As I stated above, you should create a separate file titled "style.css"
Kk I'm gonna start on Css coding when I'm home.
 

Potrock

Server Manager and Owner
Premium
Feedback score
0
Posts
637
Reactions
398
Resources
0
Wow.. hahha

I'd look up many and many tutorials :p
Get to know the basics...

I was self taught....
Self taught is probably the most efficient way. Coding Lessons are extremely expensive, and with the self taught method you have the whole internet at your disposal.
 

Shattered

old-timer
Supreme
Feedback score
5
Posts
3,486
Reactions
2,059
Resources
0
Self taught is probably the most efficient way. Coding Lessons are extremely expensive, and with the self taught method you have the whole internet at your disposal.
Just takes a lot longer to learn, but its worth it :p
 

SoldierAlex

Well-Known Member
Supreme
Feedback score
8
Posts
3,205
Reactions
1,319
Resources
0
CSS is great

To implement it into your HTML, you need to link it in your <head>

It looks something like this
HTML:
 <linkrel="stylesheet"type="text/css"href="style.css">

The style.css is what your css style sheet is called.

Moving onto CSS, most stylesheets use selectors of certain parts of the website. By creating <div> tags in the HTML you can group certain parts of your website together, and style them all at once. You use
Code:
<div class="">
or
Code:
<div id="">
and name it to your liking. Then in your CSS document, you select it by using

Code:
"yourclasshere" {
     color: orange;
}
I have so many questions can you add me on skype (its on the op)
 
Status
This thread has been locked.
Top