├── README.md
├── animate-scrollreveal
├── assets
│ ├── css
│ │ └── styles.css
│ ├── js
│ │ └── main.js
│ └── scss
│ │ └── styles.scss
└── index.html
└── variables-css
├── assets
├── css
│ └── styles.css
└── scss
│ └── styles.scss
└── index.html
/README.md:
--------------------------------------------------------------------------------
1 | # IG Projects
2 |
3 | En este repositorio estare compartiendo los proyectos de las publicaciones de Instagram.
4 |
--------------------------------------------------------------------------------
/animate-scrollreveal/assets/css/styles.css:
--------------------------------------------------------------------------------
1 | /*========== BASE ==========*/
2 | *, ::before, ::after {
3 | box-sizing: border-box;
4 | }
5 |
6 | body {
7 | margin: 0;
8 | padding: 0;
9 | }
10 |
11 | /*========== SECTION ==========*/
12 | .section {
13 | padding: 4rem 0;
14 | }
15 |
16 | .section__container {
17 | display: flex;
18 | flex-direction: column;
19 | align-items: center;
20 | justify-content: space-evenly;
21 | }
22 |
23 | .section__box {
24 | width: 200px;
25 | height: 200px;
26 | border-radius: .5rem;
27 | margin-bottom: 2rem;
28 | }
29 |
30 | .section__box-color1 {
31 | background-color: #4D5BF9;
32 | }
33 |
34 | .section__box-color2 {
35 | background-color: #4DCEF9;
36 | }
37 |
38 | /*========== MEDIA QUERIES==========*/
39 | @media screen and (min-width: 768px) {
40 | .section {
41 | padding: 0;
42 | }
43 | .section__container {
44 | height: 100vh;
45 | flex-direction: row;
46 | align-items: center;
47 | }
48 | }
49 |
--------------------------------------------------------------------------------
/animate-scrollreveal/assets/js/main.js:
--------------------------------------------------------------------------------
1 | const sr = ScrollReveal({
2 | origin: 'top',
3 | distance: '100px',
4 | duration: 1500,
5 | reset: true,
6 | })
7 |
8 | sr.reveal('.section__box', {interval: 200,})
--------------------------------------------------------------------------------
/animate-scrollreveal/assets/scss/styles.scss:
--------------------------------------------------------------------------------
1 | /*========== BASE ==========*/
2 | *,::before,::after{
3 | box-sizing: border-box;
4 | }
5 |
6 | body{
7 | margin: 0;
8 | padding: 0;
9 | }
10 |
11 | /*========== SECTION ==========*/
12 | .section{
13 | padding: 4rem 0;
14 |
15 | &__container{
16 | display: flex;
17 | flex-direction: column;
18 | align-items: center;
19 | justify-content: space-between;
20 | }
21 |
22 | &__box{
23 | width: 200px;
24 | height: 200px;
25 | border-radius: .5rem;
26 | margin-bottom: 2rem;
27 |
28 | &-color1{
29 | background-color: #4D5BF9;
30 | }
31 |
32 | &-color2{
33 | background-color: #4DCEF9;
34 | }
35 | }
36 | }
37 |
38 | /*========== MEDIA QUERIES==========*/
39 | @media screen and (min-width: 768px){
40 | .section{
41 | padding: 0;
42 |
43 | &__container{
44 | height: 100vh;
45 | flex-direction: row;
46 | align-items: center;
47 | }
48 | }
49 | }
--------------------------------------------------------------------------------
/animate-scrollreveal/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | Animate ScrollReveal
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
--------------------------------------------------------------------------------
/variables-css/assets/css/styles.css:
--------------------------------------------------------------------------------
1 | /*===== GOOGLE FONT =====*/
2 | @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500;600&display=swap");
3 |
4 | /*===== VARIABLES CSS =====*/
5 | :root {
6 | /* Colors */
7 | --first-color: #4D5BF9;
8 | --second-color: #4DCEF9;
9 | --title-color: #FFF;
10 | --text-color: #E0E0E0;
11 | --body-color: #EBECFF;
12 |
13 | /* Font and typography */
14 | --body-font: 'Poppins', sans-serif;
15 | --h1-font-size: 2.8rem;
16 | --text-font-size: 1rem;
17 | }
18 |
19 | /*========== BASE ==========*/
20 | *, ::before, ::after {
21 | box-sizing: border-box;
22 | }
23 |
24 | body {
25 | margin: 0;
26 | padding: 0;
27 | font-family: var(--body-font);
28 | background-color: var(--body-color);
29 | }
30 |
31 | /*========== SOCIAL ==========*/
32 | .social {
33 | height: 100vh;
34 | display: flex;
35 | flex-direction: column;
36 | justify-content: center;
37 | align-items: center;
38 | gap: 2rem;
39 | }
40 |
41 | .social__box {
42 | padding: 2rem 2.5rem;
43 | background-color: var(--first-color);
44 | border-radius: .5rem;
45 | text-align: center;
46 | }
47 |
48 | .social__box1 {
49 | background-color: var(--second-color);
50 | }
51 |
52 | .social__subtitle,
53 | .social__number {
54 | margin: 0;
55 | }
56 |
57 | .social__subtitle {
58 | font-size: var(--text-font-size);
59 | color: var(--text-color);
60 | }
61 |
62 | .social__number {
63 | margin: 0;
64 | font-size: var(--h1-font-size);
65 | color: var(--title-color);
66 | }
67 |
68 | /*========== MEDIA QUERIES==========*/
69 | @media screen and (min-width: 768px) {
70 | .social {
71 | flex-direction: row;
72 | gap: 4rem;
73 | }
74 | }
75 |
--------------------------------------------------------------------------------
/variables-css/assets/scss/styles.scss:
--------------------------------------------------------------------------------
1 | /*===== GOOGLE FONT =====*/
2 | @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600&display=swap');
3 |
4 | /*===== VARIABLES CSS =====*/
5 | :root{
6 |
7 | /* Colors */
8 | --first-color: #4D5BF9;
9 | --second-color: #4DCEF9;
10 | --title-color: #FFF;
11 | --text-color: #E0E0E0;
12 | --body-color: #EBECFF;
13 |
14 | /* Font and typography */
15 | --body-font: 'Poppins', sans-serif;
16 | --h1-font-size: 2.8rem;
17 | --text-font-size: 1rem;
18 | }
19 |
20 | /*========== BASE ==========*/
21 | *,::before,::after{
22 | box-sizing: border-box;
23 | }
24 |
25 | body{
26 | margin: 0;
27 | padding: 0;
28 | font-family: var(--body-font);
29 | background-color: var(--body-color);
30 | }
31 |
32 | /*========== SOCIAL ==========*/
33 | .social{
34 | height: 100vh;
35 | display: flex;
36 | flex-direction: column;
37 | justify-content: center;
38 | align-items: center;
39 | gap: 2rem;
40 |
41 | &__box{
42 | padding: 2rem 2.5rem;
43 | background-color: var(--first-color);
44 | border-radius: .5rem;
45 | text-align: center;
46 | }
47 | &__box1{
48 | background-color: var(--second-color);
49 | }
50 |
51 | &__subtitle, &__number{
52 | margin: 0;
53 | }
54 |
55 | &__subtitle{
56 | font-size: var(--text-font-size);
57 | color: var(--text-color);
58 | }
59 | &__number{
60 | margin: 0;
61 | font-size: var(--h1-font-size);
62 | color: var(--title-color);
63 | }
64 | }
65 |
66 | /*========== MEDIA QUERIES==========*/
67 | @media screen and(min-width: 768px){
68 | .social{
69 | flex-direction: row;
70 | gap: 4rem;
71 | }
72 | }
--------------------------------------------------------------------------------
/variables-css/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | Variables CSS
11 |
12 |
13 |
14 |
15 |
Facebook
16 |
10K
17 |
18 |
19 |
20 |
Instagram
21 |
23K
22 |
23 |
24 |
25 |
YouTube
26 |
50K
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------