Skip to content

Commit 076bdad

Browse files
committed
img and text resize
1 parent 5fb48bf commit 076bdad

File tree

3 files changed

+24
-16
lines changed

3 files changed

+24
-16
lines changed

Diff for: .idea/workspace.xml

+12-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: css/small.css

+3-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,9 @@ main {
5858
padding: 0;
5959
min-height: 10rem;
6060
}
61-
main figure.hero {width: 100%; margin: 0;}
62-
main figure.hero img {width: 100%;}
61+
main figure.myphoto {width: 50%; margin: 0 0 0 2%; float: right;}
62+
main figure.myphoto img {width: 50%;}
63+
main figure.myphoto figcaption {text-align: center; font-size: .75rem; margin-bottom: 2px;}
6364

6465

6566
/*----------- FOOTER --------------*/

Diff for: index.html

+9-3
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,17 @@ <h2>Possible Slogan or Tagline</h2>
4747

4848
<!-- CONTENT HERE -->
4949
<main>
50-
51-
<figure class="hero">
50+
<h1>Products</h1>
51+
<figure class="myphoto">
5252
<img src="images/img1.jpg">
53+
<figcaption> max img size </figcaption>
5354
</figure>
54-
<h1>Products</h1>
55+
<p>Lorem ipsum dolor sit amet, ne graeco utroque conceptam nec, primis voluptatibus id his, latine dolorum no eos. Vim cu nominavi quaerendum complectitur, dico choro eu eum, vel iracundia hendrerit ut. Vim atqui dissentiunt te, at vidit sententiae duo. Eu est noluisse vituperata temporibus. An nec velit aeterno, ei vix fugit semper atomorum. Ad sea semper fierent.
56+
57+
No cibo oporteat pri, per ea sensibus rationibus. Meis luptatum mandamus te vel. Has at probo albucius. Dictas impedit ex has, sanctus molestie in sit.
58+
59+
Cu vis quaeque recteque. Ceteros explicari nec et, ad sea iracundia expetendis appellantur, augue audiam epicuri ut sea. Ut sea meis scripta disputationi, et toll</p>
60+
5561
</main>
5662

5763
<!-- FOOTER HERE -->

0 commit comments

Comments
 (0)