CSS 画像を左右に振り分ける

index.html

<!DOCTYPE html>
<html lang="ja">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>My Flexbox</title>
  <link rel="stylesheet" href="style.css">
</head>

<body>
  <article>
    <img src="forest.png" width="240" height="160">
    <div class="text">
      <h1>タイトル</h1>
      <p>こんにちは。こんにちは。こんにちは。こんにちは。こんにちは。こんにちは。こんにちは。こんにちは。</p>
    </div>
  </article>
  <article>
    <img src="forest.png" width="240" height="160">
    <div class="text">
      <h1>タイトル</h1>
      <p>こんにちは。こんにちは。こんにちは。こんにちは。こんにちは。こんにちは。こんにちは。こんにちは。</p>
    </div>
  </article>
  <article>
    <img src="forest.png" width="240" height="160">
    <div class="text">
      <h1>タイトル</h1>
      <p>こんにちは。こんにちは。こんにちは。こんにちは。こんにちは。こんにちは。こんにちは。こんにちは。</p>
    </div>
  </article>
  <article>
    <img src="forest.png" width="240" height="160">
    <div class="text">
      <h1>タイトル</h1>
      <p>こんにちは。こんにちは。こんにちは。こんにちは。こんにちは。こんにちは。こんにちは。こんにちは。</p>
    </div>
  </article>
</body>

</html>

style.css

@charset "utf-8";

article {
  display: flex;
  gap: 16px;
  align-items: center;
}

article+article {
  margin-top: 32px;
}

article:nth-child(even) {
  flex-direction: row-reverse;
}

.text {
  flex: 1;
}

h1 {
  margin: 0;
  font-size: 22px;
}

投稿者: chosuke

趣味はゲームやアニメや漫画などです

「CSS 画像を左右に振り分ける」への31件のフィードバック

  1. Worth saying that the post fit naturally into a rhythm of careful reading, and a stop at shadowglowcorner extended the same rhythm, content that pairs well with how I actually read rather than demanding a different mode is content well calibrated to its likely audience and this site has clearly thought about that consistently.

  2. Picked this site to mention to a colleague who would benefit, and a look at silverpetalstore added more material I will pass along, recommending sites to colleagues is a higher bar than recommending to friends because the professional context demands more careful curation and this site cleared the professional bar without me having to think.

  3. Reading carefully this time rather than scanning, and the depth shows up in places I missed first time around, and a look at silverpetalcollective rewarded the same careful approach, content that holds up to multiple reads is content I want more of in my regular rotation rather than disposable scroll fodder daily.

  4. Useful information presented in a way that does not feel like a sales pitch, that is what I appreciated most, and a stop at velvetorchidmarket was the same, no upsell and no fake urgency just steady content laid out properly for someone trying to actually learn from it rather than just be sold to.

  5. Better signal to noise ratio than most places I check on this kind of topic, and a look at boldcartstation kept that going, every paragraph here carries something worth reading rather than padding out the page to hit some arbitrary length target that search engines reward but readers ignore as soon as they notice it.

  6. Speaking from the perspective of a fairly demanding reader the writing here clears the bar consistently, and a look at frostgrovecrafts continued clearing that bar, the calibration of demanding reader is something I apply to all sources and this site has been one of the few that handles the demanding reading well across pieces sampled.

  7. Now planning a longer reading session for the archives, and a stop at modernbuycorner confirmed the archives are worth that longer commitment, sites with archives I want to read deliberately rather than just sample are rare and this one has clearly earned that level of interest based on the consistency of what I have already read.

  8. Bookmark added in three places to make sure I do not lose the link, and a look at clevercartarena got the same redundant treatment, sites I am afraid to lose are the rare keepers and this is clearly one of them based on what I have read so far across this and a couple of related posts.

  9. Considered as a whole this site has developed a coherent point of view that comes through in individual pieces, and a look at elitebuyarena continued displaying that coherence, sites with a unified perspective rather than a grab bag of takes are sites with editorial maturity and this one has clearly developed that maturity through years of work.

  10. Reading this on the train into work was a better use of the commute than my usual choices, and a stop at royaltrendcorner extended that commute reading well, content that improves transit time rather than just filling it is content with practical benefit and this site has earned its place in my morning commute reading rotation.

  11. Decided to subscribe to the RSS feed if there is one, and a stop at fastgoodsarena confirmed that decision, content that I want delivered to me proactively rather than just remembered when I have time is content that has earned a higher level of commitment from me as a reader looking for reliable sources.

  12. A quiet kind of confidence runs through the writing, and a look at luxuryfindshub carried that same understated assurance, confidence without bragging is the most attractive register for online writing and the writers here have clearly developed it through practice rather than affecting it through stylistic tricks that would feel hollow eventually.

  13. Really like the way the post resists reaching for cliches that would have made it feel generic, and a quick visit to blossombaycollective kept that fresh feel going, original phrasing and unexpected metaphors are signs that the writer is actually thinking rather than just stitching together familiar phrases into the appearance of content.

  14. My friends would appreciate a few of these posts and I will be sending links accordingly, and a look at goldendunemarket added more pages to my share queue, content that earns shares to specific people in specific contexts is content with social utility and this site is generating those targeted shares from me consistently lately.

  15. Ended up here on a wandering afternoon and was glad I stayed for the read, and a stop at nextgenstorefront extended the wandering into a proper exploration of the site, the kind of place that rewards aimless clicking with something genuinely interesting rather than the shallow content that mostly populates the modern open web.

  16. I really like how the writer keeps the tone friendly without sounding fake or overly polished, and after a stop at vividcartzone the same calm pace was there, no rushing to make a point and no padding either, just clean honest writing that I can respect and come back to later again.

  17. However measured this site clears the bar I set for sites I take seriously, and a stop at urbancartzone continued clearing that bar, the metrics I use for site quality are admittedly informal but they are consistent and this site has cleared them on multiple measurements across multiple visits which is meaningful for my evaluation.

  18. This one is staying open in a tab for the rest of the day so I can come back and re read certain parts, and a look at infinitygoodscorner suggests I will be doing the same with a few more pages here too, this is going to be a deep dive over the coming hours.

  19. Useful information presented in a way that does not feel like a sales pitch, that is what I appreciated most, and a stop at silversproutstore was the same, no upsell and no fake urgency just steady content laid out properly for someone trying to actually learn from it rather than just be sold to.

  20. Cuts through the usual marketing fluff that dominates this topic online, and a stop at infinitybuyhub kept the same clean approach going, this is the kind of writing that respects the reader’s time rather than wasting it on repetitive setups before finally getting to the point at hand which is what most sites do.

  21. Reading this slowly to absorb the structure, and the structure is doing real work alongside the words, and a look at copperwindessentials maintained the same architectural quality, when sentence shapes and paragraph rhythms reinforce the meaning rather than just transporting words you know you are reading skilled work today.

  22. Now leaving a small mental note to recommend this when the topic comes up in conversation, and a look at neonpickmarket extended that recommend ready feeling, content that arms me with shareable references for likely future conversations is content with social value and this site is providing that conversational ammunition consistently for me lately.

  23. Just enjoyed the experience without needing to think about why, and a look at perfectbuycorner kept that effortless feeling going, sometimes the best content is invisible in the sense that you forget you are reading until you reach the end and realise time has passed without you noticing it pass naturally.

  24. Following the post through to the end without my attention drifting once, and a look at crystalbloommarket earned the same uninterrupted attention, content that holds attention without manipulating it is content with substantive pull and this site has demonstrated that substantive pull across multiple pieces in a single reading session reliably here today.

  25. Approaching this with the usual skepticism I bring to new sites and being slowly persuaded, and a stop at goodslinkstore continued that gradual persuasion, the careful path from skeptical reader to genuine fan is the only one I trust and this site has walked me along that path through patient consistent quality across pieces.

  26. If I had to defend the time I spend reading independent blogs this site would feature in the defence, and a look at frostharbormarket reinforced that defensive utility, the ongoing case for non algorithmic reading is one I make to myself periodically and sites like this one provide the actual evidence that supports the case clearly.

  27. Now realising the post solved a small problem I had been carrying for weeks, and a look at infinitydealcenter extended that problem solving function, content that connects to specific unresolved questions in my own life rather than just providing general interest is content with real practical impact and this site is providing that practical value.

  28. Speaking from the perspective of having read widely on the topic this site offers something distinct, and a look at nextcartstation reinforced that distinctness, the rare site that contributes something genuinely original to a saturated topic is the rare site worth following carefully and this one has demonstrated that original contribution capability today.

  29. Closed the tab and immediately reopened it ten minutes later because I wanted to reread a part, and a stop at windspirecollective drew the same return, content that pulls you back after closing it is doing something well beyond the average and worth marking as exceptional in my mental catalogue of reliable sites.

  30. Speaking from the perspective of a fairly demanding reader the writing here clears the bar consistently, and a look at globalgoodszone continued clearing that bar, the calibration of demanding reader is something I apply to all sources and this site has been one of the few that handles the demanding reading well across pieces sampled.

  31. Recommended without reservation for anyone interested in the topic at any level of expertise, and a look at crystalmeadowgoods only strengthens that recommendation, this site clearly knows how to serve readers across a range of backgrounds without watering down the content or talking past anyone in the audience which is genuinely impressive to see.

コメントを残す

メールアドレスが公開されることはありません。 ※ が付いている欄は必須項目です