Skip to content

Instantly share code, notes, and snippets.

@ChouJustice
Created May 12, 2022
Embed
What would you like to do?
@model WebCoreLab.Controllers.ProductController.Product
<div class="container pt-3">
<div class="row">
<div class="col-6">
<div class="img-box w-50 m-auto">
<img class="w-100" src="@Model.Image" alt="">
</div>
</div>
<div class="col-6 d-flex flex-column">
<div>
<h2>@Model.Name</h2>
<p>@Model.Description</p>
</div>
<div class="d-flex">
<select class="form-select form-select-sm">
<option value="1">1個</option>
<option value="2">2個</option>
</select>
<button class="btn btn-primary w-25 ms-auto">購買</button>
</div>
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment