Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bootcamp02-css-ejercicio-001
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Liza Coronel
bootcamp02-css-ejercicio-001
Commits
33ebd9b3
You need to sign in or sign up before continuing.
Commit
33ebd9b3
authored
Feb 20, 2018
by
roshka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tablero con css
parents
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
147 additions
and
0 deletions
+147
-0
estilo.css
+46
-0
tablero2.html
+101
-0
No files found.
estilo.css
0 → 100644
View file @
33ebd9b3
body
{
background
:
#008b8b
;
color
:
#eee
;
font-family
:
sans-serif
;
text-align
:
center
;
}
#tablero
{
background
:
url(http://i0.kym-cdn.com/photos/images/original/001/303/313/2e6.jpg)
;
box-shadow
:
0
10px
10px
-6px
rgba
(
0
,
0
,
0
,);
border-radius
:
3px
;
border-collapse
:
collapse
;
width
:
400px
;
height
:
400px
;
margin
:
auto
;
}
#tablero
td
{
color
:
#222
;
font-size
:
36px
;
text-shadow
:
1px
1px
1px
rgba
(
255
,
255
,
255
);
width
:
50px
;
height
:
50px
;
}
#tablero
tr
:nth-child
(
odd
)
td
:nth-child
(
even
),
#tablero
tr
:nth-child
(
even
)
td
:nth-child
(
odd
)
{
background
:
rgb
(
0
,
0
,
0
);
}
#tablero
tr
:nth-child
(
n
+
7
)
td
{
color
:
#fff
;
text-shadow
:
1px
1px
1px
rgba
(
0
,
0
,
0
);
}
#tablero
tr
:nth-child
(
odd
)
td
:nth-child
(
even
)
:hover
,
#tablero
tr
:nth-child
(
even
)
td
:nth-child
(
odd
)
:hover
{
background
:
gray
;
}
#tablero
tr
:nth-child
(
odd
)
td
:nth-child
(
odd
)
:hover
,
#tablero
tr
:nth-child
(
even
)
td
:nth-child
(
even
)
:hover
{
background
:
skyblue
;
}
\ No newline at end of file
tablero2.html
0 → 100644
View file @
33ebd9b3
<html
lang=
"es"
>
<head>
<title>
Tablero de Ajedrez
</title>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale-1, maximun-scale-1"
>
<link
rel=
"stylesheet"
href=
"estilo.css"
>
<style>
#tablero
:hover
{
background-color
:
skyblue
;
}
</style>
</head>
<body>
<h1>
Tablero de Ajedrez
</h1>
<table
id=
"tablero"
>
<tablero
tr:nth-child
(
odd
)
td:nth-child
(
even
)
></tablero>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</body>
</html>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment