Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

for this code please make it work in smaller screen while also have the animation please help . main 1 { height: 1 0 0

for this code please make it work in smaller screen while also have the animation please help .main1{
height: 100%;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.roller1{
height: 4.125rem;
line-height: 4rem;
position: relative;
margin-bottom: 30px;
overflow: hidden;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
color: #E36414;
}
#spare-time {
font-size: 1rem;
font-style: italic;
letter-spacing: 1rem;
margin-top: 0;
}
#rolltext {
margin-top: 6px;
}
.roller1 #rolltext {
position: absolute;
top: 0;
animation: slide 5s infinite;
}
@keyframes slide {
0%{
top: 0;
}
25%{
top: -4rem;
}
50%{
top: -8rem;
}
72.5%{
top: -12.25rem;
}
}
@media screen and (max-width: 600px){
.main1 h1{
text-align: center;
text-transform: uppercase;
color: #F1FAEE;
font-size: 2.125rem;
}

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Conceptual Database Design An Entity Relationship Approach

Authors: Carol Batini, Stefano Ceri, Shamkant B. Navathe

1st Edition

0805302441, 978-0805302448

More Books

Students also viewed these Databases questions