ਸਮੱਗਰੀ ਮਿਟਾਈ ਸਮੱਗਰੀ ਜੋੜੀ
fixed padding again
ADDED list css
ਟੈਗ: ਵਾਪਸ ਕੀਤਾ ਗਿਆ
ਲਕੀਰ 80:
}
@media only screen and (min-width: 720px650px) {
#socialsMobile {
ਲਕੀਰ 92:
top: 0.5rem;
}
.mobileList {
display: gridnone;
}
#desktopStyle {
display: initial;
}
#cardHeader{
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
max-width: 800px;
}
}
 
ਲਕੀਰ 183 ⟶ 199:
}
 
 
@media only screen and (min-width: 720px) {
/*-------------------------------------------------------------------LIST-----------------------------------------------------------------------------------*/
#cardHeader{
#desktopStyle {
display: grid;
display: none;
grid-template-columns: 1fr 1fr;
gap: 1rem; }
 
max-width: 800px;
.mobileList {
}
position: relative;
}
background-color: #f8f9fa;
border-radius: 5px;
padding: 10px;
transition: max-height 0.3s ease;
max-height: 25px;
overflow: hidden;
margin-bottom: 0.5rem;
border: 1px dotted #a7d7f9;
}
 
.mobileList p {
text-align: center;
font-size: larger;
margin-top: 0;
color:#3366cc;
text-decoration: underline;
display: flex;
flex-flow: row-reverse;
justify-content: space-between;
}
 
.mobileList:hover {
max-height: 200px;
}
 
.mobileList h1 {
margin: 0;
}
 
.mobileList ul {
padding-left: 20px;
}