File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed
Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change 1+ body , html {
2+ margin : 0 ;
3+ padding : 0 ;
4+ height : 100% ;
5+ background : linear-gradient (to bottom, yellow, green);
6+ font-family : Arial, sans-serif;
7+ }
8+
9+ .product-intro-container {
10+ display : flex;
11+ flex-direction : column;
12+ align-items : center;
13+ padding : 20px ;
14+ }
15+
16+ .product-info {
17+ display : flex;
18+ align-items : center;
19+ background : rgba (255 , 255 , 255 , 0.8 );
20+ border-radius : 8px ;
21+ padding : 20px ;
22+ width : 80% ;
23+ max-width : 800px ;
24+ box-shadow : 0 4px 8px rgba (0 , 0 , 0 , 0.1 );
25+ }
26+
27+ .product-image {
28+ width : 300px ;
29+ height : auto;
30+ border-radius : 8px ;
31+ margin-right : 20px ;
32+ }
33+
34+ .product-description {
35+ flex : 1 ;
36+ }
37+
38+ .product-description h2 {
39+ margin-top : 0 ;
40+ }
41+
42+ .purchase-button {
43+ display : inline-block;
44+ background : # 4CAF50 ;
45+ color : white;
46+ padding : 10px 20px ;
47+ text-decoration : none;
48+ border-radius : 5px ;
49+ margin-top : 20px ;
50+ transition : background-color 0.3s ease;
51+ }
52+
53+ .purchase-button : hover {
54+ background : # 45a049 ;
55+ }
You can’t perform that action at this time.
0 commit comments