Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tarea_hrml_css
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
Angel Zarate
tarea_hrml_css
Commits
cfb620ac
Commit
cfb620ac
authored
May 04, 2022
by
Angel Zarate
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tarea
parents
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
108 additions
and
0 deletions
+108
-0
ejercicio1.html
+108
-0
No files found.
ejercicio1.html
0 → 100644
View file @
cfb620ac
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
<title>
Document
</title>
</head>
<body>
<main>
<section
class=
"imagenes"
>
<div
class=
"foto1 fotoTamaño"
>
<img
src=
"http://placekitten.com/200/200"
alt=
"fotogatito"
class=
"fotoActual"
/><br
/>
</div>
<div
class=
"foto2 fotoTamaño"
>
<img
src=
"http://placekitten.com/200/200"
alt=
"fotogatito"
/><br
/>
</div>
<div
class=
"foto3 fotoTamaño"
>
<img
src=
"http://placekitten.com/200/200"
alt=
"fotogatito"
/><br
/>
</div>
<div
class=
"foto4 fotoTamaño"
>
<img
src=
"http://placekitten.com/200/200"
alt=
"fotogatito"
/><br
/>
</div>
<div
class=
"foto5 fotoTamaño"
>
<img
src=
"http://placekitten.com/200/200"
alt=
"fotogatito"
/><br
/>
</div>
</section>
</main>
</body>
</html>
<style>
main
{
background-color
:
chartreuse
;
width
:
100vw
;
height
:
100vh
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
}
*
{
margin
:
0
;
padding
:
0
;
box-sizing
:
border-box
;
font-family
:
sans-serif
;
}
.imagenes
{
width
:
70%
;
height
:
70%
;
background-color
:
black
;
position
:
relative
;
}
.fotoTama
ñ
o
{
width
:
20%
;
height
:
20%
;
}
img
{
width
:
100%
;
height
:
100%
;
}
.foto1
:hover
~
div
{
visibility
:
hidden
;
}
.foto2
:hover
~
div
{
visibility
:
hidden
;
}
.foto3
:hover
~
div
{
visibility
:
hidden
;
border
:
1rem
;
color
:
aqua
;
}
.foto4
:hover
~
div
{
visibility
:
hidden
;
}
.foto2
{
position
:
absolute
;
left
:
100px
;
top
:
50px
;
}
.foto3
{
position
:
absolute
;
left
:
190px
;
top
:
120px
;
}
.foto4
{
position
:
absolute
;
left
:
280px
;
top
:
200px
;
border
:
40px
;
color
:
brown
;
}
.foto5
{
position
:
absolute
;
left
:
350px
;
top
:
300px
;
}
</style>
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