Path: Home > List > Load (inflearn.com)

Summary
Here is the CSS for the content you provided.

The code is structured so that the text (CSS class `.text-content`) and the image (CSS class `.image-content`) are displayed together side-by-side within a container, while the background and box-shadows are applied to a separate wrapper element.

```css
.text-content, .image-content {
/* --- Text Container Styling --- */
display: flex;
flex-direction: column;
gap: 12px;
width: 100%;
min-height: 440px; /* Slightly smaller than the image container height */
padding: 10px;

/* --- Background --- */
background-color: white;

/* --- Box Shadows --- */
box-shadow: none;
max-width: 1440px; /* Max width set on wrapper */

/* --- Padding & Width --- */
margin-left: -16px; /* Left padding inside wrapper */
width: 100;
padding-left: 7px;
padding-right: 7px;

/* --- Transition & Media Queries --- */
/* Width and height fade in from the left side */
opacity: 1; /* Start visible on wrapper */
transform: translateX(-22px); /* Slight offset for visual flow */
transition:
width 0.2s ease-out,
height 0.2s ease-out,
padding-top 0.2s ease-out,
height 0.2s ease-out,
border-radius 0.2s ease-out,
border 0.2s ease-out,
box-shadow 0.2s ease-out;

/* Media: Large screens (1025px) */
@media (min-width: 1025px) {
/* Ensure image container is hidden in large screens */
.image-content {
display: none;
}
}

/* Media: Medium screens (768px - 1024px) */
@media (max-width: 1024px) {
/* Ensure text container is hidden in large screens */
.text-content {
display: none;
}
}

/* Media: Small screens (576px - 768px) */
@media (max-width: 576px) {
/* Ensure image container is hidden in small screens */
.image-content {
display: none;
}
}
}

/* --- Wrapper Styling for background/shadows --- */
.text-content.wrapped {
display: flex; /* Force flexbox layout */
max-width: calc(100vw - 32px); /* Calculate space for container */
padding: 24px; /* Extra padding inside wrapper */
}

/* --- Wrapper Content Styling --- */
.text-content-wrapper {
display: grid;
gap: 24px; /* Space between text and image container */
grid-template-columns: repeat(3, 1fr); /* 3 column layout */
min-width: 100%;
}

/* --- Image Styling --- */
.image-wrapper {
position: relative;
width: 100%;
}

.image-wrapper img {
width: 100%;
height: auto;
display: block; /* Ensures image fills space */
}

.image-wrapper::after {
/* Overlay to separate image from text */
content: "";
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 1;
pointer-events: none;
background: rgba(255, 255, 255, 0.2); /* Semi-transparent white */
opacity: 0.6;
border-radius: 8px; /* Matches border-radius of wrapper */
}

.image-wrapper * {
z-index: 1;
}
```

### Key Design Choices in this Code:

1. Two-Column Flexbox: The container uses `grid` with `grid-template-columns: repeat(3, 1fr)`. This creates a visual stack where the text spans a few columns and the image takes up the rest, or vice-versa depending on screen size.
2. Visual Hierarchy: The text is set to have `box-shadow: none` and `width 100%` to act as a background, while the image is set to `width 100%` with a semi-transparent overlay.
3. Media Queries (Responsive):
* Phones/Mobile: `display: none` on `.text-content` ensures the text is hidden behind the image, which is standard for images in e-learning platforms.
* Medium Screens (768px - 1024px): The image container is hidden, and the full-width text is displayed.
* Desktop (1025px+): The text content is fully visible (though the layout stacks 3 columns).
Title
Inflearn - Lifetime Career Platform
Description
An online learning platform with over 1.4 million learners and 4,000 courses. Learn programming, AI, data, marketing, design, and more from top industry...
Keywords
flex, color, display, center, font, none, course, width, wrap, start, border, content, height, items, direction, background, courses
NS Lookup
A 43.201.228.157, A 13.125.106.164, A 43.202.170.71, A 13.124.150.100
Dates
Created 2026-04-13
Updated 2026-04-14
Summarized 2026-04-28

Query time: 3367 ms