LakshmiHarika commited on
Commit
ba079cb
·
verified ·
1 Parent(s): c84230a

Update pages/3Life Cycle of Machine Learning Project.py

Browse files
pages/3Life Cycle of Machine Learning Project.py CHANGED
@@ -86,22 +86,22 @@ html_code = """
86
  }
87
  .step {
88
  background-color: #007bff;
89
- color: #000; /* Changed text color to black */
90
- padding: 20px 40px;
91
  border-radius: 8px;
92
  cursor: pointer;
93
  text-align: center;
94
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
95
- transition: background-color 0.3s;
96
  position: absolute;
97
  transform-origin: 50% 50%;
98
  transition: transform 0.5s ease-in-out;
99
  }
100
 
101
- /* Step transformations to create the circle */
102
  #step1 {
103
  background-color: #FFCCCC;
104
- transform: rotate(0deg) translateX(180px) rotate(0deg); /* Keeps original size and position */
105
  }
106
  #step2 {
107
  background-color: #FFDD99;
@@ -139,6 +139,13 @@ html_code = """
139
  background-color: #D9CCFF;
140
  transform: rotate(324deg) translateX(180px) rotate(-324deg);
141
  }
 
 
 
 
 
 
 
142
 
143
  /* Rotate steps to form a circular layout */
144
  #step4 {
 
86
  }
87
  .step {
88
  background-color: #007bff;
89
+ color: #000; /* Default text color is black */
90
+ padding: 20px 40px; /* Increased padding for a bigger size */
91
  border-radius: 8px;
92
  cursor: pointer;
93
  text-align: center;
94
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
95
+ transition: background-color 0.3s, color 0.3s; /* Added transition for text color */
96
  position: absolute;
97
  transform-origin: 50% 50%;
98
  transition: transform 0.5s ease-in-out;
99
  }
100
 
101
+ /* Step transformations to create the circle with the same size for each step */
102
  #step1 {
103
  background-color: #FFCCCC;
104
+ transform: rotate(0deg) translateX(180px) rotate(0deg); /* Increased translateX for bigger size */
105
  }
106
  #step2 {
107
  background-color: #FFDD99;
 
139
  background-color: #D9CCFF;
140
  transform: rotate(324deg) translateX(180px) rotate(-324deg);
141
  }
142
+
143
+ /* Hover Effect */
144
+ .step:hover {
145
+ background-color: #0056b3; /* Darker background on hover */
146
+ color: #000; /* Text color remains black on hover */
147
+ }
148
+
149
 
150
  /* Rotate steps to form a circular layout */
151
  #step4 {