Using GPT4 Vision to convert this image to instructions on making a simple static HTML website
ME: Please convert this creative website layout into HTML and CSS code. Each building and label should be its own element with hover effects, and hyperlink to a URL
CHATGPT:
To create a webpage based on the provided image, we would first slice the image into separate images for each building and label. Then, we would use CSS to position these images on a webpage and add hover effects and hyperlinks.
However, I can't slice the image for you directly here, but I can provide you with a general guideline and example code to help you achieve this.
Image Slicing:
Use an image editor (like Photoshop, GIMP, or any online image editor) to slice the provided image into separate images for each building and label.
HTML & CSS:
Here's an example structure and style for two buildings. You can replicate this for all the other buildings:
Notes:
path-to-background-image.jpg
, path-to-mcdonalds-shop-image.png
, and path-to-petpet-shop-image.png
with actual paths to your sliced images.<a>
) tag.For quick mockup can search sketchfab or clip art for the various assets, or use https://www.bing.com/images/create for sticker art. You can drag and drop the glb into https://playcanvas.com/viewer and download the png to get a nice shadow + transparent png.