question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"size you images" - Image will not resize

See original GitHub issue

Challenge Size your Images has an issue. User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.96 Safari/537.36. Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:


<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
  .red-text {
    color: red;
  }

  h2 {
    font-family: Lobster, Monospace;
  }

  p {
    font-size: 16px;
    font-family: Monospace;
    
  .smaller-image {
    width: 100px;
  }
</style>

<h2 class="red-text">CatPhotoApp</h2>

<img class="smaller-image" src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back. ">

<p class="red-text">Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p class="red-text">Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
indefinite0212commented, May 8, 2017

you code is incorrect. before posting a github issue you should ask first like in help room. if you’re wondering what is missing. you didn’t close your.

  p {
    font-size: 16px;
    font-family: Monospace;

missing }

0reactions
indefinite0212commented, May 8, 2017

@eBenzen haha you will see me there 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Resize an Image Correctly | The TechSmith Blog
There are many ways to resize an image, but not all will have the same results. If you don't resize it correctly, your...
Read more >
Can't resize image using CSS - Stack Overflow
If your image is smaller than the screen, it will use the image width. If it is bigger, it uses max-width. So assuming...
Read more >
why can't I resize my photos in Windows - Microsoft Community
Open the photo in Microsoft Paint Select Home tab Click Resize within the Image group Select Pixels Enter the appropriate dimensions then click ......
Read more >
My images won't resize....I need your help!!! - CSS-Tricks
I can't seem to get my images to resize or become responsive. I included a reset in there, ... You've set max-width: 100%;...
Read more >
How to resize your images quickly and easily | ZDNET
Clicking Image Size will open a new window that lists the picture's width and height, as well as its resolution in PPI (pixels...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found