1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
uranmaximum [27]
2 years ago
5

Rewrite the code below so that a transformation moves the div 100px to the right and 50px upward.

Computers and Technology
1 answer:
frez [133]2 years ago
5 0

Using the knowledge in computational language in HTML it is possible to write a code that  below so that a transformation moves the div 100px to the right and 50px upward.

<h3>Writting in HTML code:</h3>

<!DOCTYPE html>

<html>

<head>

<style>

div {

 width: 300px;

 height: 100px;

 background-color: yellow;

 border: 1px solid black;

 transform: translate(50px,100px);

}

</style>

</head>

<body>

<h1>The translate() Method</h1>

<p>The translate() method moves an element from its current position:</p>

<div>

This div element is moved 50 pixels to the right, and 100 pixels down from its current position.

</div>

</body>

</html>

See more about HTML at brainly.com/question/19705654

#SPJ1

You might be interested in
Leah wants to add an image to her updated presentation, so she wants to access the Help interface. What should
Stella [2.4K]

Answer:

It's A

Explanation:

On edg

4 0
3 years ago
Read 2 more answers
Which value can be entered to cause the following code segment to display the message "That number is acceptable."? ____.
vaieri [72.5K]

Answer:

C) 99

Explanation:

This code only displays "That number is acceptable" when such number is higher than 10 and less than 100. This is  becasue the conditional sentence <em>if </em>controls which message is going to be displayed based on the abovementioned condition. 0 and 10 are not greater than 10, so they don't pass the condition and 100 is not less than itself, so it does not pass either. The only number among the options greater than 10 and less than 100 is 99.

8 0
3 years ago
&gt;&gt;&gt; import math &gt;&gt;&gt; print(math.Pi) 3.141592653589793 &gt;&gt;&gt; def print_volume(): print ("What is the radi
kvasek [131]
I have no clue what this is asking...
8 0
3 years ago
To pinpoint an earthquake's location, scientists need information from how many seismometers?
Mazyrski [523]
<span>C. 3
   Due to the different speeds of P and S waves, a single seismometers can determine the distance to an earthquake. So, for a single station, the localization is any point on a circle around the station. With 2 stations, you'll have two circles that intersect at two points. The 3rd station is needed in order to determine which of the 2 points is the actual earthquake.</span>
7 0
3 years ago
Which of the following is a reliable source of information: a book recommended from my professor, britannica, a blog, or wikiped
ratelena [41]
A book recommended from your professor is a reliable source of information.
8 0
3 years ago
Other questions:
  • 6. While using the HTS, ________________ will help maintain a safe driving environment despite high speeds and a large number of
    12·1 answer
  • In what year was google launched on the web?
    14·1 answer
  • Microsoft's
    8·1 answer
  • The _________ in Java is passed by value but ______ is passedby reference.
    5·1 answer
  • Do you think LinkedIn stands to change the way employers hire? If so, how? Would this be a positive change or a negative one? Ex
    14·1 answer
  • hey guys just dropped some hot beats so go and follow me my user is the beats and comment if you would do that that would be gra
    11·1 answer
  • Give me two reasons why return statements are used in code.
    10·2 answers
  • Does any of yall play rob lox?
    5·2 answers
  • You want to send an email to members of your team working on a school project. In which field would you put the email addresses
    13·1 answer
  • Which popular video game franchise has released games with the subtitles World At War and Black Ops?
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!