#what is css used for
Explore tagged Tumblr posts
Note
zizuma after 12 straight hours of code work (all he’s had to eat was 5 adderal and an uncrustable)
[075] Hands stained with blood (stupid coding mistake that takes anywhere from 1 second to 10 days to find)
#075#xisuma#xisumavoid#daily xisuma#hermitcraft#asks#NOOOOO I see this ask on the very day I impulsively decide to spend all my time on my neocities website for the first time in months.....#I deleted everything because it was bad and I got an idea for how to make it better from ground zero. it is now better than it ever was#css still makes me want to kill someone but it's only an occasional feeling now#I probably only really dislike css because I'm not used to it as someone who mains java. what the FRICK do you mean I need to do calc() to#have equations........#hey if someone knows a workaround for z-index on background images.......please.........#<- update you literally can just do z-index if you set a position...FRICKING HELL....
111 notes
·
View notes
Text
Web design is my passion
#shitpost#wobbledog#just 1#as you can see my programming class is going very well#html#i know a lot more than i did about html but i can barely do ANYTHING with what i know#fun fact i actually had to put in MORE effort to make it look like this m#quick image tutorial incoming#when you alter the image size in css you use the string img { width: 400px; } (or your desired pixel number or percentage)#and this scales your image accordingly. however.#you can also add a second value of height or width depending on what you started with and the image WILL stretch#so my code looked like this:#img { width: 100%; height: 400px; }#also ☝️ the colour of the title is dodgerblue and i think its the best blue. followed closely by aliceblue
39 notes
·
View notes
Text
this is how i spent my week 🤡 (pure html/css mock of a character's phone notifications)
i added in the "notification settings" and "clear" buttons for accuracy, and then had the terrible thought "but what if the clear button cleared the notifications"
it does that now! i dont want to talk about how long it took to get it to do that. but. it does that now ✨
#writing#html#css#html tryhard#ao3#genshin#well it's for a genshin fic anyway#chapter 2 is 80% done#but then i remembered i had to update some stuff in ch1#and then i looked at the phone code and said hmm. i could do better.#and then i lost a whole week to this clear button#im not even going to USE IT i just. needed it to not be ugly when i had more notifications than the screen size could handle.#someday ill update this fic lol#i need someone to message me on signal so i can see what it actually looks like#alas i have no signal friends anymore#and dont mention the download's off-center icon ugh. thats a tomorrow me problem.
21 notes
·
View notes
Text
Hello audience. Unfortunately, I am still on my break. However, I am happy to announce that I am still alive and kicking. In fact, I decided to make use of my unemployment and revisit HTML, CSS, and JavaScript to create... A visual novel.
Good News: code is 100% reusable because I used a JSON (i do not know how that works, someone can kindly explain to me...)
Bad News: this code sucks ass, and NOTHING works except playing the story. Transitions? Doesn't work. UI/UX? Ass. Effects? Hell no... Also, 70% of the features aren't present yet I'm gonna do it later.
Oh, this is CrossDust, if you can't tell.


Dust Sans by Ask-Dusttale, Cross Sans by Jakei
I'm gonna respond to asks and do requests later (After my break is over). This is just a small update teehee.
#dsevalyappuccino#TIME TO GO INSANE IN THE TAGS!!#i hate css#i still hate css#css hell no#guys why is css so hard. ive literally been doing this for months and css is still hard#i was about to use css spritesheets for the sprites and emotions#but my ass gave up and instead i just use seperate images#GUYS!!! DISPLAY: FLEX 💪. DISPLAY: GRID?!?!#javascript i hate you tooq#i hate java script naurrrr#what do you mean DOM objects#what do YOU MEAN#also i do not understand error handling and JSON integrations#papaGPT doesn't explain anything#i don't know what I just wrote#coding???????????#kids don't be unemployed#actually maybe if you're unemployed but still making money that's great#also the sprites are just for testing purposes im probably gonna make new better ones if i chose to expand this into#a full blown anime high school visual novel project#i don't wanna think of all that story crap but then again i can just write the cringiest thing on earth
23 notes
·
View notes
Text
Ive only been coding in html (safe) but im gonna try css (scary) now. Wish me luck
#ive technically been usong css stuffs#but i havent been using css itlsef. just what toyhouse gives me#like obv u gotra use html to use css. but css is scary and html is easy#randy rambles
14 notes
·
View notes
Text
Working on my javascript for my web page. Turns out I have the perfect kind of setup to accomplish some of the project requirements, specifically with even handlers and user interactions
My website, conceptually, will load a different employee details page depending on what employee name is clicked on. But I need to load it dynamically (instead of hard-coding it) so that the user can add or delete employees & it'll be able to still load the relevant shit.
So! Only one employee details page, but depending on how it's loaded, it'll load a different employee's information. Still working on getting down Exactly how to do it (I'm thinking using URL parameters that'll read a different object depending on what ID is used)
It's entirely doable. In fact, it's probably extremely common to do in web pages. No one wants to hard-code information for every new object. Of course not. And thus the usefulness of dynamic javascript stuff.
I can do this. I can very much do this.
#speculation nation#i wasnt very good when i got home and i read fanfic for a while#then took a nap. and now im up again and Getting To Work.#i dont have to have this 100% perfect for final submission just yet. bc final submission isnt today.#but i need to have my final presentation over my thing done by noon (11 hours from now)#and im presenting TODAY. and part of that will be giving a live demo of my project website#so. i need to have all of the core functionality of my website down at the Very Least#might not be perfect yet. but by god if im gonna show up to my presentation with my website not working.#i need to have the employee list lead to employee details with personalized information displayed per employee#i need to create an add employee field that will Actually add an employee. using a form.#and that employee will need to show up on the list and have a new id and everything. the works.#need to set it up so that employees can be deleted. shouldnt be too much extra.#and it would be . interesting. to give an actual 'login' pop-up when someone clicks on the login button#with some kind of basic info as the login parameters. this cant be that hard to code.#the project requirements are: implement 5 distinct user interactions using javascript. at least 3 different eventhandlers#at least 5 different elements with which interaction will trigger an event handler. page modification & addition of new elements to pages#3 different ways of selecting elements. one selection returning collection of html elements with customized operations on each...#hm. customized operations on each... the example given is a todo list with different styles based on if an item is overdue or not#i wonder if my personalized detail page loading would count for this... i also have some extra info displayed for each#but i specifically want the employees to be displayed in the list uniformly. that's kinda like. The Thing.#actually im poking around on my web pages i made previously and i do quite enjoy what i set up before.#need to modify the CSS for the statistics page and employee details to make it in line with what i actually wanted for it#maybe put a background behind the footer text... i tried it before & it was iffy in how it displayed...#but it looks weird when it overlaps with a page's content. idk that's just me being particular again.#theres also data interchange as a requirement. but that should be easy if i set an initial employee list as a json file#good god im going to have to think of so much extra bullshit for these 10 made up employees#wah. this is going to be a lot of work. but. im going to do it. i just wont get very much sleep tonight.#that's ok tho. ive presented under worse conditions (cough my all nighter when i read 3gun vol 10 and cried my eyes out)#and this is going to be the last night like this of my schooling career. the very last one.#just gotta stay strong for one more night 💪💪💪
6 notes
·
View notes
Text
Setting up my new AO3 account and learning how it all works (Earrape warning)
#what the fuck was this guy playing lmao#customising my profile is the most difficult part#learning what CSS is#using canva to figure out the color codes#going to post byler fanfiction soon#byler#ao3
2 notes
·
View notes
Text
i'm not a DNI person but actually do not fw me if you're like this
#what a pretentious POS#fuck gatekeeping!!! if you wanna use the sadgrl layout do it!!#if you wanna collect blinkies and buttons from gifcities DO IT!!#gatekeeping fucking OLD WEB DESIGN is LOSER BEHAVIOR and will NOT be tolerated at melis industries#newsflash - my neocities is based on the sadgrl layout#heavily modified and customized#BUT is has helped me learn CSS and HTML!!! it is a GODSEND!#sadgrl and yesterweb in general is a GODSEND!!#i've looked at how people create navigation buttons and other components#and applied these tactics to my own site!#old web is about taking inspiration from each other!!!#FUCK this commenter!
21 notes
·
View notes
Text
me when the javascript is javascripting (stackoverflow save me... stackoverflow... save me stackoverflow...)
#html#css#javascript#what do i even tag this as lmao#hashtag me jumping on my seat whenever the javascript works#im making a music player btw that doesn't use the audio tag#im also gonna tag this#neocities#since i would like to give out the code to people if it ever gets decent#and i get how to make the customization easy for people that are beginners#kikiposting to its finest
6 notes
·
View notes
Text
all these coding classes lately remind me that i gotta work on my website sooner or later...
#now that im actually taking school courses for html/css im realizing its notttt that bad#like its Frustrating as hell but im better than i thought i was. thats for sure#I WOULDVE worked on my site earlier this year i just got hit by irl shit. yknow how it is#anyway i want to talk here more. i have so many thoughts and i have so little time to dump them.......aaaaaaaa#guess i had to take a step away from using the internet too much. and that break lasted for. What. A few years now LOL#i need to post more of my art here.. havent posted my art to tumblr since 2022 i dont think.."???? Mental illness sorry#ANYWAY ig going out of my way to talk to ppl outside my friendgroup more has done me wonders mentally. bc now im not feeling shy/Scared#like. at all anymore#also im moving next year so hopefully thatll give me the energy to work on stuff again!#chat.txt#ohyeah i need to like. redo my blog theme + work on toyhouse page a bit more#ok gn
2 notes
·
View notes
Text
am currently working on a neocities site (which i cannot give you the url for yet because im working on the css still and there's no content also it looks ugly still) and oh man does it take me back to ye olde days of custom theme editing on here. i still use a custom theme obvs but back in like 2014/2015ish when i was really into indie rp custom themes were all the rage and you would spend hours editing some character specific image for your bg and then another several hours trying to make the css line up with your image (never at any point did i attempt to actually like. learn html or css. i just read other people's theme codes and edited the parts i could understand and solved problems as they arose. i distinctly remember one time i was using a base that had two sidebars and i only wanted one and deleting the section broke the theme in disastrous ways [bc i had no idea what i was doing] so i literally just made all the elements in the sidebar transparent and moved them off the screen LMAO. the best i ever got was moving from fully built custom themes that i edited to base themes that i built off of)
anyway while im slightly better now (im even reading tutorials! am i following them? sorry i have to go i think someones calling me) i am using a layout builder to build the homepage so it is even more reminding me of mid-2010s tumblr. much like building off a base theme, and definitely easier to understand than tumblr theme building (this time i at least know what all the different pieces of code are doing, even when im not sure how or why, or how to duplicate the effect under slightly different circumstances. but progress is progress!).
a good but annoying thing about the layout that im using is that i havent actually edited the site wide stylesheet, just used internal css on that one page, so when i go to make literally any other page i'll have to start from scratch. this is good because i am learning a lot and i think without doing it this way i would end up with a bunch of useless stuff in the stylesheet that really should be page-specific that i would have to correct with internal or inline css later. annoying because what do you mean i have to make decisions about the sizing and positions of the content? i literally just did that
also im kind of nervous to touch the general stylesheet because im pretty sure what i'll actually want to do is have a couple of stylesheets for different 'sections' of the website, to maintain cohesion between pages of the 'same' type but still allow a lot of fun customization on a per-page basis, but that requires deciding what 'sections' i want on the website and that is a whole other can of worms. but also you can't start without starting so i should probably just try to build a really simple layout and go from there (after all, if it sucks, it's not like i can't just create a new stylesheet, or do the css for each page independently until i hit a groove that's actually worth moving to the stylesheet). but also first i have to finish this goddamn homepage. which means i gotta find a header image that doesn't look ugly as shit
#good idea generator#i dont need a header but im scared of deleting the image in case i break the code and if i go back to the layout maker#i'll have to redo all the code i already did. and im not doing that it was so annoyinggggggg#im having so much fun though. enrichment in my enclosure or whatever#also i found a bunch of my old theme editing stuff while looking for resources and i was like woww i even look like i know what im doing#but ultimately the trick was 90% of my background image should have been css elements instead#like i had a nice box around my content. i should have used a container with a border in the css#but what i did was make a bg img with a box in it already. then try to fit the content to that box#and if youre wondering no i never tested shit all on different screens and i def did not understand positioning#so definitely the boxes did not line up on anyone elses screen. well you live and you learn!
7 notes
·
View notes
Text
i have a thousand things i should be doing today but instead i figured out how to make epubs
and it's going great!!!

look at that!! look at that beautifully locally rendered dialog box!!!
thought id start small, something with a css file and some images but nothing too fancy. it took about two hours from vague thought to much research to final success.
turns out an epub is just a zip file with html and css in there! so that's easy. harder is that there's little to no way to get decent debug messages when you screw up. also i couldn't figure out how to get my xhtml file to see a folder with images in it so the images are scattered in the main folder but hey! they render!
#writing#html#first this silly hsr fic next the world#and by the world i mean qab#epubs#i did cheat by using an ao3 epub and then hotswapping the html/css#btw that epub structure is a mess lol who coded that and why are all the paragraph tags specifically coded to be blocks#what purpose does that serve#im not sure if epubs have a limited set of html things they support#but boy howdy am i gonna find out
18 notes
·
View notes
Text
now that i have tampermonkey ive spent the past like hour trying to figure out how to use it to update the dark mode palette to include the navy again because i hate that it's just black. i looked at tumblr's CSS and literally the dark mode palette takes the "navy" variable and just sets it to 0, 0, 0 AKA black. i can edit it in the inspector (which is how i know exactly what they did) but i haven't figured out tampermonkey syntax/functionality to the extent i know how to script it to do this. this is a reasonable rabbit hole to be going down 30 minutes after i am supposed to be in bed
#like goddamn this UI update is so bad im learning more about web development to try and revert it#also any resources on tampermonkey helps BTW i dont know how to use it to update CSS variables if thats even possible#i might have to make my own variable and manually tell it in every reference to the old one to use mine instead but that seems wrong#anyway i am taking a metaphorical knife to this website#like the dark mode palette entries for navy and other color variables is what i want to update but i cant figure out how to do that#maybe i need to make my own stylesheet with its own set of variables and tell tumblr to load that sheet instead of the one it normally does#which is still a thing i don't know the proper syntax for so.
12 notes
·
View notes
Text
I think I've finally found the combat code that I can adapt to make a "defeated adventurer" text-based porn game.
I have world building to work out for an actual premise but with the ability to add combat with a strategy element makes the whole idea super compelling.
I've been working on one that has no combat - it's all just determined by player choice which has been super fun.
But having the stakes raised by refusing to submit and then losing a fight and getting fucked anyways is very very hot to me.
#i know consentacles is a thing#but a scary monster beating me in a fair fight and then fucking the hell out of me is very very very very hot#i know enough about how this system uses variables to be pretty sure that I can do interesting things with the code I found.#The CSS is beyond me right now but I can adjust what I've been given.
5 notes
·
View notes
Text
"learn to code" as advice is such bullshit. i have learned and used four and a half different coding languages through my career (html/css, java, python+sql, c++) and when i say used i mean I've built things in every one but the things that i actually used these languages for??? these earn zero money (with the caveat of until you have seniority in, e.g. front end web dev) what people really mean when they say learn coding is "learn to code. go into investment banking or finance startups." coding does not inherently have money in it. my absolute favourite part of coding? my peak enjoyment? was when i was developing for a visual coding language (you put it together like a flowchart, so say youre using a temperature sensor and you want it to log the temperature once every four hours, you can put the blocks together to make it do that. i was writing the code behind the blocks for new sensors) and i was earning £24k a year and that wasn't even part of my main role. it was an extra voluntary thing i was doing (i was working as a research assistant in biosensors - sort of - at a university, and was developing the visual code for students who didnt want to learn c++) like. i want people to learn to code, i want people to know how their electrical equipment works and how coding works, but dont believe the myth that there is inherently money in coding. the valuable things, the things people are passionate about are still vulnerable to the passion tax (if you want to do it you dont have to be paid for it). skills arent where the money is, money is where the money is.
#this is a bit incoherent but you know what i mean#i hated coding because it made my brain bend into shapes i didn't like but i did a Lot of coding and i was quite good at it#c++ for mechatronics (coding for mechanical devices usually things id built myself lol x) was my sweet spot#.jtxt#the half language is sql#you could count html and css as different languages. but css is like a framework for html so i dont jfbdhd. maybe thats another half#ive learned and used five languages where css and sql are both half languages jfbshs#also before anyone is like but you can use python for backend web dev and everyone needs that or blah blah databases#i knoooooow. create an extra 20000 database experts and you'll make that a minimum wage role. love it#anyway i used python for my research all the way through my research. from like machine code to image analysis software thatd take half a#day to run bc of the ridiculous volume of my image folders
11 notes
·
View notes
Text
hey tumblr i got completely distracted by something i will likely never think about again but i'm discovering things so it counts for. something?
obsidian vault stuff is a lot more work than you think it'll be when you're trying to work in things using css alone and all of the usual caption displaying methods don't play nicely with inline images </3
#haunted ecosystem#i just wanted to put a nice little description of the image and the artist for personal note since i want to keep track of things like#if a piece of art/an image inspired a fic concept so that i can credit / link to the inspiration since i think that's a good idea#i'll probably just be keeping that in my default captions (which aren't visible but do Exist more as alt text)#also hi zephyrr i was using your art as a test pfvndkjmf i made sure that i had the credit pretty front and center even though this is just#a test of my (haphazard) css snippets and html knowledge that i wanted to share#another thought i just had is keeping footnotes for any image credits since it'll be helpful regardless and i'm. tracking a fair bit#i love spending all day working on a silly thing basically nobody will ever see (this is just what i do)
4 notes
·
View notes