LakshmiHarika commited on
Commit
02724f5
·
verified ·
1 Parent(s): 205aaba

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

Browse files
pages/3Life Cycle of Machine Learning Project.py CHANGED
@@ -90,8 +90,6 @@ html_code = """
90
  padding: 15px 30px;
91
  border-radius: 8px;
92
  cursor: pointer;
93
- width: 150px; /* Ensures all steps are the same size */
94
- height: 60px; /* Ensures all steps have consistent height */
95
  text-align: center;
96
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
97
  transition: background-color 0.3s;
@@ -100,46 +98,48 @@ html_code = """
100
  transition: transform 0.5s ease-in-out;
101
  }
102
 
 
103
  #step1 {
104
  background-color: #FFCCCC;
105
- transform: rotate(0deg) translateX(200px) rotate(0deg); /* Adjust translateX for proper positioning */
106
  }
107
  #step2 {
108
  background-color: #FFDD99;
109
- transform: rotate(36deg) translateX(200px) rotate(-36deg);
110
  }
111
  #step3 {
112
  background-color: #FFFF99;
113
- transform: rotate(72deg) translateX(200px) rotate(-72deg);
114
  }
115
  #step4 {
116
  background-color: #CCFFCC;
117
- transform: rotate(108deg) translateX(200px) rotate(-108deg);
118
  }
119
  #step5 {
120
  background-color: #CCE5FF;
121
- transform: rotate(144deg) translateX(200px) rotate(-144deg);
122
  }
123
  #step6 {
124
  background-color: #E5CCFF;
125
- transform: rotate(180deg) translateX(200px) rotate(-180deg);
126
  }
127
  #step7 {
128
  background-color: #FFD9E6;
129
- transform: rotate(216deg) translateX(200px) rotate(-216deg);
130
  }
131
  #step8 {
132
  background-color: #FFF5CC;
133
- transform: rotate(252deg) translateX(200px) rotate(-252deg);
134
  }
135
  #step9 {
136
  background-color: #D9FFF5;
137
- transform: rotate(288deg) translateX(200px) rotate(-288deg);
138
  }
139
  #step10 {
140
  background-color: #D9CCFF;
141
- transform: rotate(324deg) translateX(200px) rotate(-324deg);
142
  }
 
143
  /* Rotate steps to form a circular layout */
144
  #step4 {
145
  transform: rotate(0deg) translateX(250px) rotate(0deg);
 
90
  padding: 15px 30px;
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;
 
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(140px) rotate(0deg); /* Keeps original size and position */
105
  }
106
  #step2 {
107
  background-color: #FFDD99;
108
+ transform: rotate(36deg) translateX(140px) rotate(-36deg);
109
  }
110
  #step3 {
111
  background-color: #FFFF99;
112
+ transform: rotate(72deg) translateX(140px) rotate(-72deg);
113
  }
114
  #step4 {
115
  background-color: #CCFFCC;
116
+ transform: rotate(108deg) translateX(140px) rotate(-108deg);
117
  }
118
  #step5 {
119
  background-color: #CCE5FF;
120
+ transform: rotate(144deg) translateX(140px) rotate(-144deg);
121
  }
122
  #step6 {
123
  background-color: #E5CCFF;
124
+ transform: rotate(180deg) translateX(140px) rotate(-180deg);
125
  }
126
  #step7 {
127
  background-color: #FFD9E6;
128
+ transform: rotate(216deg) translateX(140px) rotate(-216deg);
129
  }
130
  #step8 {
131
  background-color: #FFF5CC;
132
+ transform: rotate(252deg) translateX(140px) rotate(-252deg);
133
  }
134
  #step9 {
135
  background-color: #D9FFF5;
136
+ transform: rotate(288deg) translateX(140px) rotate(-288deg);
137
  }
138
  #step10 {
139
  background-color: #D9CCFF;
140
+ transform: rotate(324deg) translateX(140px) rotate(-324deg);
141
  }
142
+
143
  /* Rotate steps to form a circular layout */
144
  #step4 {
145
  transform: rotate(0deg) translateX(250px) rotate(0deg);