I understand that many CSS style sheets are passed around and shared frequently across the web. My question is when does leveraging someone else's web page code become illegal?
Example here is:
Finding a website that I would like to emulate.
Copying their HTML files and CSS files.
Editing the HTML file to replace their content with my content
Leaving the CSS files exactly as they are since I like the style and format of the page.
Is this copyright and is it illegal?
If it is at what point does the problem arise, and how would you best recommend I go about this if I am a beginner?
Thank you all for your time!