📺 Develpreneur YouTube Episode

Video + transcript

CSS For Developers Crash Course Part 1

2024-02-06 •Youtube

Detailed Notes

We are continuing a series of tutorials focused on Spring Boot. The crux of the project is to convert/migrate an old JSP/Tomcat application to a modern Spring Boot application and Java 7/8 to a current version. This begins a short series focused on CSS setup and customizations aimed at getting developers up to speed on CSS basics. Part 1 of 4.

You can learn more through our online classes at https://school.develpreneur.com and register for free. Registration will add you to our email list, and you will periodically receive coupons for courses and notifications of the latest releases.

Transcript Text
[Music]
well hello and welcome back we are
continuing working our way through our
project we're converting over one of the
things we're going to do and we're going
to focus on this episode and maybe a
couple more after this
is modernizing the look a little bit
if you look around our site as we're
bounce on a couple of links it's me it's
one of those it's okay it it's not it
doesn't like pop and some stuff like
that it doesn't look super modern so
what we're going to do is we are going
to tweak the CSS and talk a little bit
about stylesheets and such in general as
we do that so if we look at this site
one of the things we can do is I'm going
to just take a CSS file from somewhere
else that's uh off of one of my sites
and I'm just going to swap out the code
for the CSS and I'm going to show you
that when you think of like skinning a
site and stuff like that although it's
not set up exactly the same what we will
see is now you see something that looks
a little different uh you've got like
the and we've got the still some of the
headers and stuff like that we're seeing
this a little different we're seeing
that our Legend looks a little different
than it
did the pages the color the footer
the menu up here all of these things
have sort of changed up a little bit so
now we've got something um that looks if
we see it's got a it has a little
different look and feel so what we want
to do with this is let's do some
additions to this so first thing I want
to do is I'm going to go to these These
are legends within a field set if you
look and we can look at it for example
on the uh we can look at at the
dashboard basically you see right here
it's a field set is that entire box and
then the legend is within that and if we
go look for the legend let's do some
tweaking so one of the things we want to
do is let's take that Legend and let's
see now the field set itself note so if
you go up
here uh
this
container actually if we look here I
think that's
the we look at the it's probably the
legend if we look at the field set it I
wonder if it has lines so if you can
here it's got some padding it's got a
margin and we've got some padding
[Music]
after margin let's see border box there
we go so somewhere after that I think
we've got little border box that changes
it up a little bit and if you're looking
at this this is one of the things you
can do when you're playing around
depending on what your browser is you
can do things where you you can like
pull some you can actually just quickly
shut off some of the features and see
what that looks like so for example if I
go
to my Legend
itself I have uh a background color
that's that gray that you see I've got a
color for the text otherwise look it
goes to a default uh the Border I can
change that border a little
bit the padding you can see now that
sort of spaces it out a little bit the
font size is actually so that's where it
would be if I didn't have that special
font size and text the line is left is
going to be default but let's tweak that
so I don't like the font size so let's
improve our font size a little
bit
and let's uh let's tweak that color
let's make that let's change those
colors a little bit so we're going to go
to our Legend in our so if we go find
Legend
here this is what it looks like so one
thing things we didn't want to do is we
don't want to bother with the font size
we're going to leave it just normal Tex
toine let's make that Center so now
we're going to push it to the
center that background
color let's see what do we want to do
with this let's
take let's swap essentially the um we're
going to clean this up a little bit so
we're going to do we're going to keep
the Border color the same which is this
let's we could thicken a little bit H
let's thicken a little
bit and we're going to take the color
let's just swap these two so we're going
to take
the background
color and the color is going to be that
uh
e and background color is going to be
that you may
note that you can sometimes do it in
three if it's just the same thing over
and over again then it's going to be
it'll allow you to do a three a length
of three so like this 3 669 I can do
369 and it look it's the exact same
color as the 33 6699 so there's like a
little bit of a short hand you can do if
that's the case for you uh sometimes
you're not going to have you know
exactly the same if you got very simple
colors then you can do that so let's
just let's start with just that let's go
take a look at that let's see what our
field sets look like at our Legends
so now if we come in here if it'll
run now look we see these already as we
see all of the Legends are
changing and so we've got something that
it sort of Pops a little bit now you've
got something that pops now one of the
things we can do
here is we can actually change that
Legend a little bit
more and let's
see I'm going to steal this
and let's go back to our Legend and
we're going to add we're going to round
this out a little
bit so if we go here we can add a thing
and let's do a border radius we'll just
start with four pixels that's um that's
probably not bad it'll be enough to see
the different oh let's make it like 10
we're going to make it a little more
distinct so border radius we can add to
any box it's going to change the corners
on it so if you see these little you
know it's very square right now we come
back notice now we've got these things
that got a little rounding to them so
that's probably I'm going to say that's
a little too much so I'm going to cut
that in
half and so now I've got something
that's going to look a little bit better
now one other things I want to do is I
want to change up the colors here so
right now I think the the container that
I'm in or the field set
itself if we go over here field set does
not have any kind of color to it uh it's
got it now and you can see here there
something else probably to note is we've
got a couple CSS files we're using so
here at the reboot
docss which is basic compiled CSS we've
got some information around a field set
but then we actually overwrite it so the
one at the top here or at least not
override these are the things that this
is where it gets all of its values so it
gets padding margin and border but that
Min width I think gets right here gets
overset so if I do this and then you can
see we now that men width gets picked up
from the one
below there and we're just going to
touch on some stuff because you can get
pretty crazy pretty quick now let's take
a look at while we're here if we look at
our buttons we're going to see uh that
this is using a bootstrap button primary
it's got a color and a background color
and that's really where it's picking
those up and it's coming from the button
scss so it's got a border color that we
could change it's really hard to see
that thinness but we also have a uh
because it's
that we have a a color and a background
color and this is our button primary and
so we could change this let's
pick let's change well I sort of like uh
let's tweak those a little bit so let's
go to our button primary and this
is uh this goes back to some of the
buttons we talked about so if I do
secondary I don't even know if I have
that defined in the CSS so now you can
see where it's gray if I go to
secondary uh I do not have it in the
core so I don't have to worry about that
if I do button uh I believe it's Error I
always
forget uh button error is
is nope uh if I do
button uh warning I think or let's do
button
info so button info we've got a blue but
again oh uh no we still don't have that
overwritten so we can we can pick a
different couple different ways we want
to do it let's go back to our button
primary and let's tweak a little bit so
we've got uh we got something looks okay
so if we go to button
primary
let's
change the background color actually
let's change the text we're going to go
to this like red that we've got in a
couple places oh it's button default
let's see what that one looks like uh if
we
do so we come in here we can do button
default oh that's sort of good so we may
want to just change those over to and we
get notice you get a a mouse over it
changes it up a little bit so if we go
look for button default
uh let's see if we've got
that yeah here we have if it's active or
not so we change the background color a
little bit so let's change the
background
color if that's red let's change it
to let's go with like a
gray so we'll go with like uh DDD
maybe uh notice that sometimes depend on
what you're in sometimes you can be able
to see the color right away you can also
find color wheels and stuff like that
that you can easily uh let's go to let's
try it like down at like
888 ah that probably looks like it's not
quite there so let's change it let's go
back to what we say well we'll do like a
CCC so we'll do that and we're going to
make the color that red so we're going
to go back and find our button
default and and now the background color
is going to become the text we're
basically going to swap the two oh there
you go that's not two that's almost
exactly what I did so we're going to
come back here swap the
two so we've got that for now our
default
button now our
primary is a little different so what we
probably want to do here is let's make
these primary that's easy enough to do
this is in our homepage login so if we
go up here uh we're going to go hit our
template wherever I put my templates
there we
go and I think it's just called
home and I'm going go button default or
no button is that primary that's what I
had yeah here we go so submit forgot
password those are all primary instead
those are going to become
default oops if I write it if I spell it
correctly and if we come
here
oh do we have sign up uh sign up
somewhere
else oh this might be different submit
register oops that's a different one uh
let's leave
that so it's not that it is oh it's
login instead of
home here we go login form email
password there we
go so those are going to be
default and not the when we do this we
could go through and we could do
sweeping changes to our site by changing
just a little bit of our CSS so one of
the things we want to do is let's change
it let's do that right
now let's make our field sets we're
going to go change the background color
of that a little bit we're going to go
to so we go back to our core CSS we find
our field set and if you don't find it
that means you haven't described you
haven't defined it outside of whatever
the norm or the defaults are so you can
always tweak that a little bit as you
need to so now I'm going to go to
background
color and I'm going to make it just a
little bit darker so if I look
here uh let's see let me just pick
background uh let me go actually up to
body if I go
to body then I probably have a yeah so
I've got a background color of this
guy F4 let's just copy him and so his
background color if I go to the field
set
he's going to have
a background
wh background
color and what I'm going to do is I'm
going to take that but I want to darken
it one of the things I can do is by
darking I'm just going to take every
single number and I'm going to add a
plus one basically subtract one so that
F4 becomes
E3 the F6 becomes E5 and and the F9
becomes
E8 and let's see what that color looks
like so that's a little darker so let's
just go with that for right now so we're
going to take that with our field set
and what else do we want to do want
anything let's just do that for now uh
what we do have that yeah we're going to
leave it like that uh because what we
could do that's border color that's a
style okay so let's do that and let's
just see what we get just by tweaking a
few things tweaked it we changed some
button Styles let's see what we do what
we get just out of our field sets now
you see now we got something that pops a
little bit more or is a little more
different at least in how it looks now
you know we can play around with that
which we
will um if I go log in we're also going
to see that across the board but notice
now before I had like my odds and evens
and I bet those have not been defined if
I go
here uh row did he have a uh wait I need
to go to my row yeah so row even even
doesn't exist anymore so what I need to
do is I want to take an even and an odd
so if that's like my normal
color let's tweak this a little bit so
if it's even we're just going to make
these this is going to be nice easy to
do because what we're going to do is
we're going to do an
even and we're going to do an
odd and let's
do uh let's start with we're going to
sort of start with these we'll play with
these colors first um here we
go so if it's
even let's see if it's uh yeah we'll
start with even so with even we're going
to go with like a heavier background and
if it's odd we're going to go with
something a little
different so right now these are sort of
reversed basic basically so which means
we can just take this
um that's going to be hash
e that's going to be the whop color is
going to be this
color and then
instead let's do the same thing but
we're going to tweak these a little bit
so if it's
odd if it's odd what we want to do is
let's make it not quite so let's go so
uh we're going to add three to this so
instead of so it's going to be
6699 and then it's a b c right one two
three yep C oh no I'm sorry zero just
going to be
BB so then it's a little bit lighter
color there and we want this to be a
darker color so let's go three down so
just going
BBB let's see how that looks and this is
how we can start making some changes es
to our stuff again sweeping with a few
minor changes so now if we
look I notice we've already like
made did I hit the right password I did
uh but it's not picking up even oh it's
not picking up even an
odd so let's go back oh because I need
to probably do
doeven and odd because they are classes
those are class names
so I need if it's a default if it's a
tag I can do it without uh it's just the
name but if it is a class which I forgot
to mention is it's going to have to
prefix with a DOT so now if we take a
look at
it we run this
through and we come
in now see now we're seeing our um we're
going to see all of our little bit of
our
uh table are odd and evens now one of
the things we had before is we had some
way to you know we had it on a mouse
over so that's what we're going to do
next is we're going to talk about our
you know actually hovering whatever
selected row we have but that's I think
a good start so couple things think
about as you're putting your your site
together is to make sure that you're
using Styles that's one of the things
that we're supposed to do Google likes
it better if you've got Styles and
classes as opposed to just like all of
these and not in online but actually
using a style
sheet so you don't have uh styling code
all over the place and your one of the
big benefits is now as I'm doing it I'm
going to see all of these things start
show up because they're all based on a
CSS so we're going to play around with
it some more next time around uh but as
always shoot an EMA uh shoot an email to
info@ developer.com if you have any
questions uh go out there and have
yourself a great day a great week and we
will talk to you next time
[Music]
hello this is Rob with develop andur
also known as building better developers
wanted to announce that we have school.
develop or.com feel free to check it out
if you like any of this information any
of the content that we've sent and you
would like to see more you can come out
you can enroll for free we have free
courses we've got places for you to get
better at just learning a technology or
how-tos you can work on your business
skills we can help you with becoming a
better developer as in coding and things
like that a lot of the stuff you've seen
on YouTube we also have out at school.
dvelop andur we just have it in a little
more of a uh educational format and a
way for you to track your progress as
you move forward becoming a better
developer
Transcript Segments
0

[Music]

16.72

well hello and welcome back we are

19

continuing working our way through our

20.72

project we're converting over one of the

22.6

things we're going to do and we're going

23.72

to focus on this episode and maybe a

25.48

couple more after this

27.199

is modernizing the look a little bit

30.84

if you look around our site as we're

33.32

bounce on a couple of links it's me it's

36.6

one of those it's okay it it's not it

39

doesn't like pop and some stuff like

40.48

that it doesn't look super modern so

43.36

what we're going to do is we are going

44.32

to tweak the CSS and talk a little bit

47.039

about stylesheets and such in general as

49.48

we do that so if we look at this site

52.559

one of the things we can do is I'm going

54.879

to just take a CSS file from somewhere

57.039

else that's uh off of one of my sites

60.559

and I'm just going to swap out the code

62.719

for the CSS and I'm going to show you

65.68

that when you think of like skinning a

67.68

site and stuff like that although it's

69.52

not set up exactly the same what we will

72.2

see is now you see something that looks

75.479

a little different uh you've got like

77.96

the and we've got the still some of the

79.64

headers and stuff like that we're seeing

81

this a little different we're seeing

83.52

that our Legend looks a little different

85.04

than it

86.2

did the pages the color the footer

90.4

the menu up here all of these things

93.36

have sort of changed up a little bit so

95.439

now we've got something um that looks if

99.079

we see it's got a it has a little

100.64

different look and feel so what we want

102.72

to do with this is let's do some

106.36

additions to this so first thing I want

108.04

to do is I'm going to go to these These

110.479

are legends within a field set if you

113.6

look and we can look at it for example

116.32

on the uh we can look at at the

118.799

dashboard basically you see right here

121.039

it's a field set is that entire box and

123.2

then the legend is within that and if we

126.439

go look for the legend let's do some

129.039

tweaking so one of the things we want to

131.04

do is let's take that Legend and let's

136.319

see now the field set itself note so if

139.56

you go up

140.64

here uh

142.519

this

144.44

container actually if we look here I

146.68

think that's

148.76

the we look at the it's probably the

151.56

legend if we look at the field set it I

153.64

wonder if it has lines so if you can

156.12

here it's got some padding it's got a

159.4

margin and we've got some padding

161.95

[Music]

163.2

after margin let's see border box there

166.879

we go so somewhere after that I think

168.44

we've got little border box that changes

170.64

it up a little bit and if you're looking

173.2

at this this is one of the things you

174.2

can do when you're playing around

175.64

depending on what your browser is you

178.239

can do things where you you can like

180.8

pull some you can actually just quickly

182.599

shut off some of the features and see

184.64

what that looks like so for example if I

186.519

go

187.879

to my Legend

190.12

itself I have uh a background color

193.56

that's that gray that you see I've got a

195.92

color for the text otherwise look it

197.64

goes to a default uh the Border I can

201

change that border a little

203.04

bit the padding you can see now that

205.56

sort of spaces it out a little bit the

207.799

font size is actually so that's where it

210.519

would be if I didn't have that special

212.36

font size and text the line is left is

216.28

going to be default but let's tweak that

219.239

so I don't like the font size so let's

220.68

improve our font size a little

223.319

bit

224.92

and let's uh let's tweak that color

228.439

let's make that let's change those

230.2

colors a little bit so we're going to go

231.12

to our Legend in our so if we go find

235.28

Legend

237.079

here this is what it looks like so one

239.56

thing things we didn't want to do is we

240.599

don't want to bother with the font size

242.04

we're going to leave it just normal Tex

243.799

toine let's make that Center so now

245.879

we're going to push it to the

247.4

center that background

250.28

color let's see what do we want to do

252.76

with this let's

258.32

take let's swap essentially the um we're

263.639

going to clean this up a little bit so

265.24

we're going to do we're going to keep

267.36

the Border color the same which is this

270.039

let's we could thicken a little bit H

272.24

let's thicken a little

275.32

bit and we're going to take the color

278.28

let's just swap these two so we're going

279.68

to take

281.039

the background

285.039

color and the color is going to be that

288

uh

290.479

e and background color is going to be

293.56

that you may

295.12

note that you can sometimes do it in

297.199

three if it's just the same thing over

298.56

and over again then it's going to be

300.16

it'll allow you to do a three a length

302.28

of three so like this 3 669 I can do

307.24

369 and it look it's the exact same

310.08

color as the 33 6699 so there's like a

312.759

little bit of a short hand you can do if

315.52

that's the case for you uh sometimes

317.68

you're not going to have you know

319.16

exactly the same if you got very simple

320.639

colors then you can do that so let's

323.12

just let's start with just that let's go

325.919

take a look at that let's see what our

327.4

field sets look like at our Legends

330.639

so now if we come in here if it'll

334.36

run now look we see these already as we

337.36

see all of the Legends are

339.56

changing and so we've got something that

341.84

it sort of Pops a little bit now you've

343.759

got something that pops now one of the

346.56

things we can do

348.28

here is we can actually change that

350.44

Legend a little bit

352.319

more and let's

356.6

see I'm going to steal this

361.479

and let's go back to our Legend and

363.52

we're going to add we're going to round

365.199

this out a little

366.84

bit so if we go here we can add a thing

370.24

and let's do a border radius we'll just

371.56

start with four pixels that's um that's

374.28

probably not bad it'll be enough to see

376.28

the different oh let's make it like 10

377.919

we're going to make it a little more

379.88

distinct so border radius we can add to

382.68

any box it's going to change the corners

386.199

on it so if you see these little you

387.919

know it's very square right now we come

389.88

back notice now we've got these things

393.16

that got a little rounding to them so

395.8

that's probably I'm going to say that's

396.919

a little too much so I'm going to cut

399.16

that in

400.36

half and so now I've got something

403.479

that's going to look a little bit better

404.919

now one other things I want to do is I

406.28

want to change up the colors here so

410.4

right now I think the the container that

414.24

I'm in or the field set

417

itself if we go over here field set does

420.84

not have any kind of color to it uh it's

425.16

got it now and you can see here there

427.199

something else probably to note is we've

428.96

got a couple CSS files we're using so

431.84

here at the reboot

433.68

docss which is basic compiled CSS we've

437.44

got some information around a field set

440.759

but then we actually overwrite it so the

442.44

one at the top here or at least not

444.4

override these are the things that this

446.24

is where it gets all of its values so it

447.8

gets padding margin and border but that

449.919

Min width I think gets right here gets

453.4

overset so if I do this and then you can

457.199

see we now that men width gets picked up

459.28

from the one

460.639

below there and we're just going to

463

touch on some stuff because you can get

465.36

pretty crazy pretty quick now let's take

467.12

a look at while we're here if we look at

470.44

our buttons we're going to see uh that

474.479

this is using a bootstrap button primary

477.28

it's got a color and a background color

480.52

and that's really where it's picking

481.879

those up and it's coming from the button

483.28

scss so it's got a border color that we

486.319

could change it's really hard to see

487.96

that thinness but we also have a uh

491.12

because it's

493.44

that we have a a color and a background

496.96

color and this is our button primary and

500

so we could change this let's

503.879

pick let's change well I sort of like uh

507.12

let's tweak those a little bit so let's

508.36

go to our button primary and this

511.44

is uh this goes back to some of the

513.68

buttons we talked about so if I do

517.08

secondary I don't even know if I have

519.2

that defined in the CSS so now you can

523.479

see where it's gray if I go to

526.04

secondary uh I do not have it in the

528.64

core so I don't have to worry about that

530.88

if I do button uh I believe it's Error I

534.2

always

537.04

forget uh button error is

540.079

is nope uh if I do

545.519

button uh warning I think or let's do

548.399

button

549.6

info so button info we've got a blue but

552.44

again oh uh no we still don't have that

554.839

overwritten so we can we can pick a

556.64

different couple different ways we want

557.76

to do it let's go back to our button

559.279

primary and let's tweak a little bit so

562.68

we've got uh we got something looks okay

565.44

so if we go to button

568.12

primary

570.56

let's

571.48

change the background color actually

574.04

let's change the text we're going to go

575.72

to this like red that we've got in a

577.399

couple places oh it's button default

579.48

let's see what that one looks like uh if

581.2

we

582.079

do so we come in here we can do button

586.519

default oh that's sort of good so we may

589.12

want to just change those over to and we

591.88

get notice you get a a mouse over it

594.32

changes it up a little bit so if we go

596.92

look for button default

600.36

uh let's see if we've got

604.04

that yeah here we have if it's active or

606.44

not so we change the background color a

608.2

little bit so let's change the

610.519

background

613.32

color if that's red let's change it

619.519

to let's go with like a

623.2

gray so we'll go with like uh DDD

627.44

maybe uh notice that sometimes depend on

629.92

what you're in sometimes you can be able

631.12

to see the color right away you can also

633.44

find color wheels and stuff like that

635.2

that you can easily uh let's go to let's

638.44

try it like down at like

642.839

888 ah that probably looks like it's not

645.48

quite there so let's change it let's go

647.16

back to what we say well we'll do like a

650.8

CCC so we'll do that and we're going to

653.079

make the color that red so we're going

655.68

to go back and find our button

657.88

default and and now the background color

660.24

is going to become the text we're

662.44

basically going to swap the two oh there

664.2

you go that's not two that's almost

665.639

exactly what I did so we're going to

666.76

come back here swap the

669.959

two so we've got that for now our

672.8

default

674.079

button now our

676.279

primary is a little different so what we

678.68

probably want to do here is let's make

680.32

these primary that's easy enough to do

682.6

this is in our homepage login so if we

685.92

go up here uh we're going to go hit our

689.12

template wherever I put my templates

691.48

there we

692.519

go and I think it's just called

695.68

home and I'm going go button default or

699.399

no button is that primary that's what I

703

had yeah here we go so submit forgot

705.8

password those are all primary instead

708.639

those are going to become

710.88

default oops if I write it if I spell it

714.88

correctly and if we come

717.959

here

719.839

oh do we have sign up uh sign up

722.04

somewhere

723.32

else oh this might be different submit

726

register oops that's a different one uh

728.92

let's leave

731.36

that so it's not that it is oh it's

734.639

login instead of

737.48

home here we go login form email

740.6

password there we

743.32

go so those are going to be

747.199

default and not the when we do this we

749.92

could go through and we could do

751.24

sweeping changes to our site by changing

753.36

just a little bit of our CSS so one of

755.839

the things we want to do is let's change

757.36

it let's do that right

759.279

now let's make our field sets we're

763.12

going to go change the background color

764.639

of that a little bit we're going to go

766.079

to so we go back to our core CSS we find

769.92

our field set and if you don't find it

771.88

that means you haven't described you

773.12

haven't defined it outside of whatever

774.8

the norm or the defaults are so you can

777.199

always tweak that a little bit as you

779

need to so now I'm going to go to

780.12

background

781.24

color and I'm going to make it just a

784.56

little bit darker so if I look

786.76

here uh let's see let me just pick

789.8

background uh let me go actually up to

791.48

body if I go

794.519

to body then I probably have a yeah so

797.399

I've got a background color of this

800.32

guy F4 let's just copy him and so his

804.44

background color if I go to the field

807.76

set

810.639

he's going to have

812.8

a background

815.92

wh background

819.04

color and what I'm going to do is I'm

821.32

going to take that but I want to darken

822.88

it one of the things I can do is by

825.68

darking I'm just going to take every

826.959

single number and I'm going to add a

829.04

plus one basically subtract one so that

832.68

F4 becomes

834.88

E3 the F6 becomes E5 and and the F9

839.839

becomes

841.72

E8 and let's see what that color looks

844.16

like so that's a little darker so let's

846.36

just go with that for right now so we're

847.759

going to take that with our field set

850.399

and what else do we want to do want

852.48

anything let's just do that for now uh

854.32

what we do have that yeah we're going to

855.8

leave it like that uh because what we

857.56

could do that's border color that's a

859.32

style okay so let's do that and let's

862.6

just see what we get just by tweaking a

866.72

few things tweaked it we changed some

868.759

button Styles let's see what we do what

870.399

we get just out of our field sets now

873.519

you see now we got something that pops a

875.639

little bit more or is a little more

878.56

different at least in how it looks now

881.68

you know we can play around with that

883.199

which we

884.68

will um if I go log in we're also going

888.12

to see that across the board but notice

890.24

now before I had like my odds and evens

893.68

and I bet those have not been defined if

895.639

I go

897.68

here uh row did he have a uh wait I need

901.639

to go to my row yeah so row even even

904.759

doesn't exist anymore so what I need to

907.519

do is I want to take an even and an odd

910.8

so if that's like my normal

915.48

color let's tweak this a little bit so

917.8

if it's even we're just going to make

919.24

these this is going to be nice easy to

921.24

do because what we're going to do is

922.44

we're going to do an

924.32

even and we're going to do an

927.6

odd and let's

933.639

do uh let's start with we're going to

937.639

sort of start with these we'll play with

939.04

these colors first um here we

942.56

go so if it's

944.72

even let's see if it's uh yeah we'll

947.319

start with even so with even we're going

948.92

to go with like a heavier background and

950.48

if it's odd we're going to go with

951.6

something a little

954.72

different so right now these are sort of

957.8

reversed basic basically so which means

960.44

we can just take this

964.72

um that's going to be hash

968.88

e that's going to be the whop color is

972

going to be this

974.92

color and then

977.279

instead let's do the same thing but

979.6

we're going to tweak these a little bit

981.56

so if it's

982.92

odd if it's odd what we want to do is

986.399

let's make it not quite so let's go so

990

uh we're going to add three to this so

992.12

instead of so it's going to be

994.56

6699 and then it's a b c right one two

999.6

three yep C oh no I'm sorry zero just

1001.88

going to be

1005.079

BB so then it's a little bit lighter

1007.36

color there and we want this to be a

1009.6

darker color so let's go three down so

1011.72

just going

1013

BBB let's see how that looks and this is

1016.44

how we can start making some changes es

1018.759

to our stuff again sweeping with a few

1023.639

minor changes so now if we

1027.36

look I notice we've already like

1030.4

made did I hit the right password I did

1033.4

uh but it's not picking up even oh it's

1036.199

not picking up even an

1039.28

odd so let's go back oh because I need

1041.839

to probably do

1043.559

doeven and odd because they are classes

1047.48

those are class names

1050.679

so I need if it's a default if it's a

1052.76

tag I can do it without uh it's just the

1055.52

name but if it is a class which I forgot

1059.24

to mention is it's going to have to

1060.84

prefix with a DOT so now if we take a

1064

look at

1067.039

it we run this

1069.52

through and we come

1072.6

in now see now we're seeing our um we're

1076.76

going to see all of our little bit of

1078.159

our

1079.44

uh table are odd and evens now one of

1082.28

the things we had before is we had some

1083.88

way to you know we had it on a mouse

1085.72

over so that's what we're going to do

1087.32

next is we're going to talk about our

1089.76

you know actually hovering whatever

1091.64

selected row we have but that's I think

1094.24

a good start so couple things think

1097.48

about as you're putting your your site

1099.32

together is to make sure that you're

1100.159

using Styles that's one of the things

1101.64

that we're supposed to do Google likes

1103.36

it better if you've got Styles and

1105.32

classes as opposed to just like all of

1107.24

these and not in online but actually

1108.96

using a style

1110.28

sheet so you don't have uh styling code

1113.799

all over the place and your one of the

1115.44

big benefits is now as I'm doing it I'm

1117.24

going to see all of these things start

1119.28

show up because they're all based on a

1123.08

CSS so we're going to play around with

1124.28

it some more next time around uh but as

1126.72

always shoot an EMA uh shoot an email to

1128.76

info@ developer.com if you have any

1130.84

questions uh go out there and have

1132.52

yourself a great day a great week and we

1134.76

will talk to you next time

1138.98

[Music]

1154.08

hello this is Rob with develop andur

1156.12

also known as building better developers

1158.679

wanted to announce that we have school.

1160.6

develop or.com feel free to check it out

1163.52

if you like any of this information any

1166.159

of the content that we've sent and you

1167.559

would like to see more you can come out

1169.4

you can enroll for free we have free

1171.4

courses we've got places for you to get

1174.28

better at just learning a technology or

1176.64

how-tos you can work on your business

1178.64

skills we can help you with becoming a

1181.159

better developer as in coding and things

1183.6

like that a lot of the stuff you've seen

1185.24

on YouTube we also have out at school.

1188.12

dvelop andur we just have it in a little

1189.919

more of a uh educational format and a

1192.48

way for you to track your progress as

1194.799

you move forward becoming a better

1197.32

developer